LostTech.TensorFlow : API Documentation

Type Softsign

Namespace tensorflow.contrib.distributions.bijectors

Parent Bijector

Interfaces ISoftsign

Bijector which computes `Y = g(X) = X / (1 + |X|)`.

The softsign `Bijector` has the following two useful properties:

* The domain is all real numbers * `softsign(x) approx sgn(x)`, for large `|x|`.

#### Examples
Show Example
# Create the Y = softsign(X) transform.
            softsign = Softsign()
            x = [[[1., 2],
                  [3, 4]],
                 [[5, 6],
                  [7, 8]]]
            x / (1 + abs(x)) == softsign.forward(x)
            x / (1 - abs(x)) == softsign.inverse(x) 

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;