def call(self, x, mask=None): activation = activations.get(self.activation) return activation(backend.dot(x, self.W) + self.b)