###1. 自定义激活函数 可以采用以下几种方法: from keras import backend as K from keras.layers.core import Lambda from keras.engine import Layer