torch.nn.utils.GetTotalNormOptions
export interface GetTotalNormOptions {
/** Type of the used p-norm. Can be 'inf' for infinity norm. (default: 2.0) */
norm_type?: number | 'inf';
}norm_type(number | 'inf')optional- – Type of the used p-norm. Can be 'inf' for infinity norm. (default: 2.0)
Options for get_total_norm