Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


torch (version 0.4.0)

torch_threshold_: Threshold_

Description

Threshold_

Usage

torch_threshold_(self, threshold, value)

Arguments

self

input tensor

threshold

The value to threshold at

value

The value to replace with

threshold_(input, threshold, value) -> Tensor

In-place version of torch_threshold.