torch.nn.functional.threshold¶ torch.nn.functional.threshold(input, threshold, value, inplace=False)[source]¶ 對輸入 Tensor 的每個元素應用閾值。 更多詳情請參閱 Threshold。 返回型別 Tensor