Type AffineScalar
Namespace tensorflow.contrib.distributions.bijectors
Parent Bijector
Interfaces IAffineScalar
Compute `Y = g(X; shift, scale) = scale * X + shift`. Examples:
Show Example
# Y = X b = AffineScalar() # Y = X + shift b = AffineScalar(shift=[1., 2, 3]) # Y = 2 * X + shift b = AffineScalar( shift=[1., 2, 3], scale=2.)
Methods
- forward
- forward_dyn
- forward_event_shape
- forward_event_shape_dyn
- forward_log_det_jacobian
- forward_log_det_jacobian_dyn
- inverse
- inverse_dyn
- inverse_event_shape
- inverse_event_shape_dyn
- inverse_event_shape_tensor
- inverse_event_shape_tensor_dyn
- inverse_log_det_jacobian
- inverse_log_det_jacobian_dyn
Properties
Public instance methods
object forward(IEnumerable<object> x, string name)
object forward_dyn(object x, ImplicitContainer<T> name)
TensorShape forward_event_shape(object input_shape)
object forward_event_shape_dyn(object input_shape)
object forward_log_det_jacobian(IEnumerable<object> x, int event_ndims, string name)
object forward_log_det_jacobian_dyn(object x, object event_ndims, ImplicitContainer<T> name)
object inverse(IEnumerable<object> y, string name)
object inverse_dyn(object y, ImplicitContainer<T> name)
TensorShape inverse_event_shape(object output_shape)
object inverse_event_shape_dyn(object output_shape)
Tensor inverse_event_shape_tensor(object output_shape, string name)
object inverse_event_shape_tensor_dyn(object output_shape, ImplicitContainer<T> name)
object inverse_log_det_jacobian(IEnumerable<object> y, int event_ndims, string name)
object inverse_log_det_jacobian_dyn(object y, object event_ndims, ImplicitContainer<T> name)
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;
object scale get;
The `scale` `LinearOperator` in `Y = scale @ X + shift`.
object scale_dyn get;
The `scale` `LinearOperator` in `Y = scale @ X + shift`.
object shift get;
The `shift` `Tensor` in `Y = scale @ X + shift`.
object shift_dyn get;
The `shift` `Tensor` in `Y = scale @ X + shift`.