The forward function must be monotonic. Both functions must have the signature:: def forward(values: array-like) -> array-like N)