def _cdf(self, x): y = x - self.loc return (0.5 + 0.5 * math_ops.sign(y) * (1. - math_ops.exp(-math_ops.abs(y) / self.scale)))