torch.nn.utils.ClipGradsWithNormOptions
export interface ClipGradsWithNormOptions {
/** 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_grads_with_norm_