Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions tensorflow_probability/python/bijectors/real_nvp.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,11 @@ def real_nvp_default_template(hidden_layers,
512]`.
shift_only: Python `bool` indicating if only the `shift` term shall be
computed (i.e. NICE bijector). Default: `False`.
activation: Activation function (callable). Explicitly setting to `None`
implies a linear activation.
activation: Activation function (callable) applied to each hidden layer.
The final layer is always linear regardless of this setting. Explicitly
setting to `None` implies a linear activation for the hidden layers as
well. Do not also pass `activation` via `**kwargs`; doing so will raise
a `TypeError`.
name: A name for ops managed by this function. Default:
'real_nvp_default_template'.
*args: `tf.layers.dense` arguments.
Expand Down