# tensorplay.nn.functional.threshold Source: https://www.tensorplay.cn/docs/generated/tensorplay.nn.functional.threshold.html ```python tensorplay.nn.functional.threshold(input: Tensor, threshold: float, value: float, inplace: bool = False) → Tensor ``` Apply a threshold to each element of the input Tensor. See Threshold for more details.