when I do tensor(-3., 2)
in google colab. I get an error tensor module not defined. Then I tried torch.tensor([-3.,2])
which sometimes works and sometimes doesn’t
Can solve check my notebook & let me know the exact issue?
https://colab.research.google.com/drive/1YvpLAgyUT2hBg_qkIOyJpVx0xwu65wXf#scrollTo=yjuV2kRoKgxV