diff options
Diffstat (limited to 'tensorflow/g3doc/api_docs/python/functions_and_classes/shard7/tf.contrib.distributions.bijector.Inline.md')
-rw-r--r-- | tensorflow/g3doc/api_docs/python/functions_and_classes/shard7/tf.contrib.distributions.bijector.Inline.md | 92 |
1 files changed, 91 insertions, 1 deletions
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard7/tf.contrib.distributions.bijector.Inline.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard7/tf.contrib.distributions.bijector.Inline.md index 0e59026427..646dacb9fc 100644 --- a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard7/tf.contrib.distributions.bijector.Inline.md +++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard7/tf.contrib.distributions.bijector.Inline.md @@ -14,7 +14,7 @@ exp = Inline( The above example is equivalent to the `Bijector` `Exp(event_ndims=1)`. - - - -#### `tf.contrib.distributions.bijector.Inline.__init__(forward_fn=None, inverse_fn=None, inverse_log_det_jacobian_fn=None, forward_log_det_jacobian_fn=None, is_constant_jacobian=False, validate_args=False, name='inline')` {#Inline.__init__} +#### `tf.contrib.distributions.bijector.Inline.__init__(forward_fn=None, inverse_fn=None, inverse_log_det_jacobian_fn=None, forward_log_det_jacobian_fn=None, get_forward_event_shape_fn=None, forward_event_shape_fn=None, get_inverse_event_shape_fn=None, inverse_event_shape_fn=None, is_constant_jacobian=False, validate_args=False, name='inline')` {#Inline.__init__} Creates a `Bijector` from callables. @@ -27,6 +27,14 @@ Creates a `Bijector` from callables. log o det o jacobian of the inverse transformation. * <b>`forward_log_det_jacobian_fn`</b>: Python callable implementing the log o det o jacobian of the forward transformation. +* <b>`get_forward_event_shape_fn`</b>: Python callable implementing non-identical + static event shape changes. Default: shape is assumed unchanged. +* <b>`forward_event_shape_fn`</b>: Python callable implementing non-identical event + shape changes. Default: shape is assumed unchanged. +* <b>`get_inverse_event_shape_fn`</b>: Python callable implementing non-identical + static event shape changes. Default: shape is assumed unchanged. +* <b>`inverse_event_shape_fn`</b>: Python callable implementing non-identical event + shape changes. Default: shape is assumed unchanged. * <b>`is_constant_jacobian`</b>: `Boolean` indicating that the Jacobian is constant for all input arguments. * <b>`validate_args`</b>: `Boolean` indicating whether arguments should be checked @@ -68,6 +76,26 @@ Returns the forward `Bijector` evaluation, i.e., X = g(Y). - - - +#### `tf.contrib.distributions.bijector.Inline.forward_event_shape(input_shape, name='forward_event_shape')` {#Inline.forward_event_shape} + +Shape of a single sample from a single batch as an `int32` 1D `Tensor`. + +##### Args: + + +* <b>`input_shape`</b>: `Tensor`, `int32` vector indicating event-portion shape + passed into `forward` function. +* <b>`name`</b>: name to give to the op + +##### Returns: + + +* <b>`forward_event_shape`</b>: `Tensor`, `int32` vector indicating event-portion + shape after applying `forward`. + + +- - - + #### `tf.contrib.distributions.bijector.Inline.forward_log_det_jacobian(x, name='forward_log_det_jacobian', **condition_kwargs)` {#Inline.forward_log_det_jacobian} Returns both the forward_log_det_jacobian. @@ -94,6 +122,48 @@ Returns both the forward_log_det_jacobian. - - - +#### `tf.contrib.distributions.bijector.Inline.get_forward_event_shape(input_shape)` {#Inline.get_forward_event_shape} + +Shape of a single sample from a single batch as a `TensorShape`. + +Same meaning as `forward_event_shape`. May be only partially defined. + +##### Args: + + +* <b>`input_shape`</b>: `TensorShape` indicating event-portion shape passed into + `forward` function. + +##### Returns: + + +* <b>`forward_event_shape`</b>: `TensorShape` indicating event-portion shape after + applying `forward`. Possibly unknown. + + +- - - + +#### `tf.contrib.distributions.bijector.Inline.get_inverse_event_shape(output_shape)` {#Inline.get_inverse_event_shape} + +Shape of a single sample from a single batch as a `TensorShape`. + +Same meaning as `inverse_event_shape`. May be only partially defined. + +##### Args: + + +* <b>`output_shape`</b>: `TensorShape` indicating event-portion shape passed into + `inverse` function. + +##### Returns: + + +* <b>`inverse_event_shape`</b>: `TensorShape` indicating event-portion shape after + applying `inverse`. Possibly unknown. + + +- - - + #### `tf.contrib.distributions.bijector.Inline.inverse(y, name='inverse', **condition_kwargs)` {#Inline.inverse} Returns the inverse `Bijector` evaluation, i.e., X = g^{-1}(Y). @@ -151,6 +221,26 @@ See `inverse()`, `inverse_log_det_jacobian()` for more details. - - - +#### `tf.contrib.distributions.bijector.Inline.inverse_event_shape(output_shape, name='inverse_event_shape')` {#Inline.inverse_event_shape} + +Shape of a single sample from a single batch as an `int32` 1D `Tensor`. + +##### Args: + + +* <b>`output_shape`</b>: `Tensor`, `int32` vector indicating event-portion shape + passed into `inverse` function. +* <b>`name`</b>: name to give to the op + +##### Returns: + + +* <b>`inverse_event_shape`</b>: `Tensor`, `int32` vector indicating event-portion + shape after applying `inverse`. + + +- - - + #### `tf.contrib.distributions.bijector.Inline.inverse_log_det_jacobian(y, name='inverse_log_det_jacobian', **condition_kwargs)` {#Inline.inverse_log_det_jacobian} Returns the (log o det o Jacobian o inverse)(y). |