InaccessibleTensorError with custom loss function in graph mode

前端 未结 0 1137
無奈伤痛
無奈伤痛 2020-12-23 17:33

Defining a custom training loop and a custom loss class in tensorflow, and when I call the training loop function (marked with @tf.function) I get this error. Any suggestion

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