Creates a recursive Params
object from value
.
tf_agents.distributions.utils.get_parameters(
value: Any
) -> tf_agents.distributions.utils.Params
The Params
object can be converted back to an object of type type(value)
with make_from_parameters
. For more details, see the docstring of
Params
.
Args | |
---|---|
value
|
Typically a user provides tfp.Distribution , tfp.Bijector , or
tf.linalg.LinearOperator , but this can be any Python object.
|
Returns | |
---|---|
An instance of Params .
|