wrapping_tf

zfit.z.wrapping_tf.check_numerics(tensor: Any, message: Any, name: Any = None)[source]

Check whether a tensor is finite and not NaN. Extends TF by accepting complex types as well.

Parameters
  • ( (tensor) – py:class:~`tensorflow.python.framework.ops.Tensor`):

  • message (str) –

  • name (Union[None, None, None]) –

Returns

Return type

tensorflow.python.framework.ops.Tensor

zfit.z.wrapping_tf.complex(real, imag, name=None)[source]
zfit.z.wrapping_tf.exp(x, name=None)[source]
zfit.z.wrapping_tf.log(x, name=None)[source]
zfit.z.wrapping_tf.pow(x, y, name=None)[source]
zfit.z.wrapping_tf.random_normal(shape, mean=0.0, stddev=1.0, dtype=tf.float64, seed=None, name=None)[source]

DEPRECATED FUNCTION

Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use z.random.normal instead.

zfit.z.wrapping_tf.random_poisson(lam: Any, shape: Any, dtype: tensorflow.python.framework.dtypes.DType = tf.float64, seed: Any = None, name: Any = None)[source]

DEPRECATED FUNCTION

Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use z.random.poisson instead.

zfit.z.wrapping_tf.random_uniform(shape, minval=0, maxval=None, dtype=tf.float64, seed=None, name=None)[source]

DEPRECATED FUNCTION

Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use z.random.uniform instead.

zfit.z.wrapping_tf.sqrt(x, name=None)[source]
zfit.z.wrapping_tf.square(x, name=None)[source]