def get_output_for(self, input, **kwargs): return T.log(T.mean(T.exp(self.r * input), axis=self.axis) + 1e-7) / self.r