fnset_anomaly_enabledvoid set_anomaly_enabled(bool v)sourceeditToggle the process-wide autograd anomaly-detection flag.Parametersvbooltrue enables NaN gradient checks on backward node outputs; false disables them.