tfp.layers.default_multivariate_normal_fn
Stay organized with collections
Save and categorize content based on your preferences.
Creates multivariate standard Normal
distribution.
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.Variable s.
|
trainable
|
Python bool indicating all created tf.Variable s 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.Variable s.
|
Returns |
Multivariate standard Normal distribution.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-11-21 UTC.
[null,null,["Last updated 2023-11-21 UTC."],[],[],null,["# tfp.layers.default_multivariate_normal_fn\n\n\u003cbr /\u003e\n\n|----------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/probability/blob/v0.23.0/tensorflow_probability/python/layers/util.py#L201-L223) |\n\nCreates multivariate standard `Normal` distribution.\n\n#### View aliases\n\n\n**Main aliases**\n\n[`tfp.layers.util.default_multivariate_normal_fn`](https://www.tensorflow.org/probability/api_docs/python/tfp/layers/default_multivariate_normal_fn)\n\n\u003cbr /\u003e\n\n tfp.layers.default_multivariate_normal_fn(\n dtype, shape, name, trainable, add_variable_fn\n )\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|-------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `dtype` | Type of parameter's event. |\n| `shape` | Python `list`-like representing the parameter's event shape. |\n| `name` | Python `str` name prepended to any created (or existing) [`tf.Variable`](https://www.tensorflow.org/api_docs/python/tf/Variable)s. |\n| `trainable` | Python `bool` indicating all created [`tf.Variable`](https://www.tensorflow.org/api_docs/python/tf/Variable)s should be added to the graph collection `GraphKeys.TRAINABLE_VARIABLES`. |\n| `add_variable_fn` | `tf.get_variable`-like `callable` used to create (or access existing) [`tf.Variable`](https://www.tensorflow.org/api_docs/python/tf/Variable)s. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| Multivariate standard `Normal` distribution. ||\n\n\u003cbr /\u003e"]]