TensorPlay
API symbolsnn
Copy
View MarkdownDownload .md

tensorplay.nn.functional.threshold

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

Apply a threshold to each element of the input Tensor.

See Threshold for more details.

Ask DeepWiki