torch.nn.ActivationOptions
export interface ActivationOptions {
/** If true, performs the operation in-place, modifying the input tensor. Default: false */
inplace?: boolean;
}inplace(boolean)optional- – If true, performs the operation in-place, modifying the input tensor. Default: false
Options for activation functions with inplace parameter