How to select values along an axis and / or reshape for a varible length tensorflow variable?

后端 未结 0 1703
南笙
南笙 2020-12-01 19:01

I am coding a custom loss function wherein there is an index variable which can change in length depending on a condition (e.g. where y_pred > 0.).

         


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