def call(self, inputs, **kwargs): return K.softplus(inputs) - self.alpha
def call(self, inputs): return inputs * K.tanh(K.softplus(inputs))
def mish(x): return x * K.tanh(K.softplus(x))
def mish(x): return layers.Lambda(lambda x: x*K.tanh(K.softplus(x)))(x)
def call(self, inputs, **kwargs): output = self.lmbd * K.elu(inputs) + (1 - self.lmbd) * ( K.softplus(inputs) - self.alpha) return output
def call(self, inputs, **kwargs): return self.lmbd * K.elu(inputs) + (1 - self.lmbd) * K.softplus(inputs)