zhusuan.transforms.base¶
- class Transform[source]¶
Bases:
jittor.ModuleBase class for Transforms.
- execute(*args, inverse=False, **kwargs)[source]¶
Do forward and inverse transform.
Forward transform: Compute \(x \mapsto z\) and the log_abs determinant jacobian term.
Inverse transform: Compute \(z \mapsto x\).
- Parameters
inverse – A Bool. Indicates whether execute the forward transform or the inverse transform.