torchcell.losses.multi_dim_nan_tolerant.MonotonicParameter

class MonotonicParameter(data: Tensor | None = None, requires_grad: bool = True)[source]

Bases: Parameter

Parameter that ensures values are monotonically increasing via cumulative softplus.

property data: Tensor

Return monotonic values via cumulative softplus of the raw data.