How can I split an array(or tensor) given to my custom loss function as an additional parameter?

后端 未结 0 1714
深忆病人
深忆病人 2021-01-15 21:37

I made my custom loss function as below:

#Loss Function
def negative_log_likelihood(E):
  ET = tf.convert_to_tensor(E, dtype=tf.float32)
  def loss(y_true,y_p         


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