torch.nn.ThresholdOptions
export interface ThresholdOptions {
/** Value to replace with. Default: 0 */
value?: number;
/** If true, performs in-place. Default: false */
inplace?: boolean;
}value(number)optional- – Value to replace with. Default: 0
inplace(boolean)optional- – If true, performs in-place. Default: false
Options for Threshold activation