I just want to print out the value from the tensor value

后端 未结 0 1378
攒了一身酷
攒了一身酷 2020-12-12 08:00

I using pytorch

data = tensor(55.4099, device=\'cuda:0\')

I want to get a separate price like this.

data2 = 55.4099

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