oneflow.nn.functional.threshold

oneflow.nn.functional.threshold(input: Tensor, threshold: float, value: float)Tensor

Thresholds each element of the input Tensor.

See Threshold for more details.