Use random 0d tensors of the right dtype
Merge pull request #1183 from lamblin/fix_dot_0d_tests

Use random 0d tensors of the right dtype