Keras支持添加一个计算用户定义的lambda函数的层。我不知道Keras如何知道为反向传播计算此用户定义函数的梯度。
machine-learning keras
keras ×1
machine-learning ×1