Skip to content
fn

is_anomaly_enabled

→bool
bool is_anomaly_enabled()

Read the process-wide autograd anomaly-detection flag.

See Also

set_anomaly_enabled lucid.autograd.detect_anomaly

Returns

bool

true when backward node outputs should be checked for NaN values.