MapTransform#
- class bayesflow.adapters.transforms.MapTransform(transform_map: dict[str, ElementwiseTransform])[source]#
Bases:
Transform
Implements a transform that applies a set of elementwise transforms to a subset of the data as given by a mapping.
- Parameters:
- transform_mapdict[str, ElementwiseTransform]
Dictionary with variable names as keys and corresponding transforms as values.
- log_det_jac(data: dict[str, ndarray], log_det_jac: dict[str, ndarray], *, strict: bool = True, **kwargs) dict[str, ndarray] [source]#