PyTorch is giving me a different value for a scalar

后端 未结 0 975
轻奢々
轻奢々 2020-11-28 04:52

When I create a tensor from float using PyTorch, then cast it back to a float, it produces a different result. Why is this, and how can I fix it to return the same value?

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