Skip to content

Instantly share code, notes, and snippets.

View muween's full-sized avatar
🎯
Focusing

muween

🎯
Focusing
View GitHub Profile

###1. 自定义激活函数

可以采用以下几种方法:

from keras import backend as K
from keras.layers.core import Lambda
from keras.engine import Layer