Deep Learning Tensorflowのif文でusing a `tf.Tensor` as a Python `bool` is not allowed:
tf.kerasでcustom layerを書いていた時、ある確率でランダムに水増しを行う関数を書いていた。model.fitを実行した際に表題のエラーが発生。OperatorNotAllowedInGraphError: using a ...
Deep Learning
Deep Learning
Python
Deep Learning