Select random non-zero element from each row of 3d matrix in non-eager tensorflow

前端 未结 0 1460
暖寄归人
暖寄归人 2021-01-04 12:01

I am trying to implement the triplet loss with random negative triplet selection. Right now I have a tensor of shape (batch_size, batch_size, batch_size) where element (i,j,

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