TensorPlay
latest (dev)
Copy
View Markdown

Latest development documentation · Updated 2026-10-15

tensorplay.nn.functional.threshold

tensorplay.nn.functional.threshold(input: Tensor, threshold: float, value: float, inplace: bool = False) → Tensor[source]

Apply a threshold to each element of the input Tensor.

See Threshold for more details.

On this page

Ask DeepWiki