Tensorflow: If statement with tensor

前端 未结 0 1124
不知归路
不知归路 2021-01-16 07:30

I\'m trying to check if the tensorflow tensor rand_int=0 in an if statement. In the below code, the if statement is not executed when rand_int=0.



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