Fix DotProduct example error

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