D | power_transform.py | 54 power=0., argument 72 with self._name_scope("init", values=[power]): 73 power = tensor_util.constant_value( 74 ops.convert_to_tensor(power, name="power")) 75 if power is None or power < 0: 77 self._power = power 84 def power(self): member in PowerTransform 90 if self.power == 0.: 94 return math_ops.exp(math_ops.log1p(x * self.power) / self.power) 98 if self.power == 0.: [all …]
|