tf.GradientTape().gradient() returns None

前端 未结 0 1714
耶瑟儿~
耶瑟儿~ 2021-02-15 08:04

i tried to design my own loss function for a tensorflow 2.0 model.

def loss(y_true, y_pred):
    true_col = [col for col in y_true.columns if col not in [alt_id_c         


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