ehs-risk-sem
Back to ehs-risk-sem

compat

silence_accelerate_matmul_warnings

silence_accelerate_matmul_warnings() -> 'None'

Filter the known-spurious Accelerate ``matmul`` RuntimeWarnings.

Narrow by construction: it matches only these four exact messages and only the ``RuntimeWarning`` category, so a genuine overflow anywhere other than inside ``matmul`` still surfaces.

Used by: study_01_sample_size.py, study_02_rare_events.py, study_03_misspecification.py, study_04_coefficient_interpretation.py