Converting float tensor to long tensor

前端 未结 0 1560
迷失自我
迷失自我 2021-01-07 23:28

i want to convert a float tensor (b_labels) to long. i used .long() when calling model() and it converted. but the for example the b_labels of 0.6670 converted to 0. all of

相关标签:
回答
  • 消灭零回复
提交回复
热议问题