Transform#

class bayesflow.adapters.transforms.Transform[source]#

Bases: object

Base class on which other transforms are based

__call__(data: dict[str, Tensor], *, inverse: bool = False, **kwargs) → dict[str, Tensor][source]#

Call self as a function.

classmethod from_config(config: dict, custom_objects=None)[source]#
get_config() → dict[source]#
forward(data: dict[str, Tensor], **kwargs) → dict[str, Tensor][source]#
inverse(data: dict[str, Tensor], **kwargs) → dict[str, Tensor][source]#
extra_repr() → str[source]#
log_det_jac(data: dict[str, Tensor], log_det_jac: dict[str, Tensor], inverse: bool = False, **kwargs) → dict[str, Tensor][source]#