Conditionally apply tensor operations in PyTorch

后端 未结 0 1480
星月不相逢
星月不相逢 2021-01-23 08:54

I know PyTorch doesn\'t have a map-like function to apply a function to each element of a tensor. So, could I do something like the following without a map

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