torch.distributions.transforms.AbsTransform
class AbsTransform extends Transformnew AbsTransform(options?: TransformOptions)
- readonly
domain(unknown) - readonly
codomain(unknown) - readonly
bijective(unknown) - readonly
sign(unknown)
Absolute value transform: maps ℝ → [0, ∞).
Transform via the mapping y = |x|.
Note: This transform is NOT bijective since it maps both positive and negative values to the same output. The inverse returns the positive root.