【发布时间】:2017-12-21 01:09:24
【问题描述】:
如何定义我自己的损失函数,它需要 Keras 中先前层的权重和偏差参数?
如何从每一层获得 [W1, b1, W2, b2, Wout, bout]?在这里,我们需要传递比平常更多的变量(y_true,y_pred)。我附上了两张图片供您参考。
我需要实现这个损失函数。 enter image description here
【问题讨论】:
标签: tensorflow computer-vision deep-learning keras