ElementwiseTransform#

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

Bases: object

Base class on which other transforms are based

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

Call self as a function.

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