Convert tensor of floats to tensor fo integers inside loss function

前端 未结 0 1952
你的背包
你的背包 2021-01-31 19:53

I\'m building a loss function, and I need to use the y_true and y_pred as indexes for a matrix which I\'m using to calculate the loss. The problem is, both of these come as floa

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