ReLuTransform#
- class pytorch_forecasting.data.encoders.ReLuTransform(cache_size=0)[来源]#
基础:
Transform
变换 x -> max(0, x).
- Inherited-members:
方法
forward_shape
(形状)根据输入形状推断前向计算的形状。
inverse_shape
(形状)根据输出形状推断逆计算的形状。
log_abs_det_jacobian
(x, y)根据输入和输出计算对数行列式雅可比 log |dy/dx|。
with_cache
([缓存大小])属性
bijective
余域
domain
event_dim
inv
返回此转换的逆
Transform
。sign