TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tfp.layers.default_multivariate_normal_fn

View source on GitHub

Creates multivariate standard Normal distribution.

Aliases:

tfp.layers.default_multivariate_normal_fn(
    dtype,
    shape,
    name,
    trainable,
    add_variable_fn
)

Args:

  • dtype: Type of parameter's event.
  • shape: Python list-like representing the parameter's event shape.
  • name: Python str name prepended to any created (or existing) tf.Variables.
  • trainable: Python bool indicating all created tf.Variables should be added to the graph collection GraphKeys.TRAINABLE_VARIABLES.
  • add_variable_fn: tf.get_variable-like callable used to create (or access existing) tf.Variables.

Returns:

Multivariate standard Normal distribution.