liesel.liesel.nodes.transform_parameter#

liesel.liesel.nodes.transform_parameter(node, bijector)[source]#

Transforms a parameter and its distribution with a TFP bijector.

Returns a node group of the transformed and the original parameter.

Parameters
  • node (Node) – Node to be transformed.

  • bijector (Union[str, Any]) – A bijector class (or a name of a bijector class) from tensorflow probability.

Return type

NodeGroup