Fix DotProduct example error

x=torch.Tensor({1,2,3}) , not x=torch.Tensor(1,2,3)
y=torch.Tensor({4,5,6}), not y=torch.Tensor(4,5,6)