Creates a recursive Params object from value.

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.

value Typically a user provides tfp.Distribution, tfp.Bijector, or tf.linalg.LinearOperator, but this can be any Python object.

An instance of Params.

TypeError If value.parameters exists, is not None, but but is also not a Mapping (e.g. a dict).