我正在尝试通过这个公式实现一个自定义损失: ? 这是为我的模型使用真正的自定义损失函数的第一步。数据集是KerasCifar10。这个实现看起来是正确的,但我得到了这个错误: OperatorNotAllowedInGraphError: using a tf.Tensoras a Pythonbool is not allowedreturn tf.sqrt(tf<
我是机器学习的新手,如果提问方式不是很好,问题又这么简单,请多包涵。import tensorflow as tf# Reading the csv file from local drive as a dataframe(## are part of build graph)
model = tf</em