LostTech.TensorFlow : API Documentation

Type Square

Namespace tensorflow.contrib.distributions.bijectors

Parent Bijector

Interfaces ISquare

Compute `g(X) = X^2`; X is a positive real number.

g is a bijection between the non-negative real numbers (R_+) and the non-negative real numbers.

#### Examples
Show Example
bijector.Square().forward(x=[[1., 0], [2, 1]])
            # Result: [[1., 0], [4, 1]], i.e., x^2 

bijector.Square().inverse(y=[[1., 4], [9, 1]]) # Result: [[1., 2], [3, 1]], i.e., sqrt(y).

Properties

Public properties

object dtype get;

object dtype_dyn get;

object forward_min_event_ndims get;

object forward_min_event_ndims_dyn get;

IList<object> graph_parents get;

object graph_parents_dyn get;

object inverse_min_event_ndims get;

object inverse_min_event_ndims_dyn get;

bool is_constant_jacobian get;

object is_constant_jacobian_dyn get;

object name get;

object name_dyn get;

object PythonObject get;

bool validate_args get;

object validate_args_dyn get;