Expm1Transform#
- class pytorch_forecasting.data.encoders.Expm1Transform(cache_size=0)[source]#
Bases:
ExpTransform
- Inherited-members:
Methods
forward_shape
(shape)Infers the shape of the forward computation, given the input shape.
inverse_shape
(shape)Infers the shapes of the inverse computation, given the output shape.
log_abs_det_jacobian
(x, y)Computes the log det jacobian log |dy/dx| given input and output.
with_cache
([cache_size])Attributes
bijective
codomain
domain
event_dim
inv
Returns the inverse
Transform
of this transform.sign