def backward(self, indexes, gy): x = self.get_retained_inputs()[0] return (2 * numpy.pi) ** -0.5 * exponential.exp(-0.5 * x ** 2) \ / ndtr.ndtr(x) * gy[0],
def cdf(self, x): return ndtr.ndtr((x - self.loc) / self.scale)
def survival_function(self, x): return ndtr.ndtr((self.loc - x) / self.scale)