TensorFlow 2.0 Beta is available Learn more

tfp.layers.default_multivariate_normal_fn

Creates multivariate standard Normal distribution.

Aliases:

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

Defined in python/layers/util.py.

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.