torch.nn.utils.ClipGradValueOptions
export interface ClipGradValueOptions {
/** Use the faster foreach-based implementation. (default: null (auto)) */
foreach?: boolean | null;
}foreach(boolean | null)optional- – Use the faster foreach-based implementation. (default: null (auto))
Options for clip_grad_value_