()
| 5 | |
| 6 | |
| 7 | def test_quantizer_disabled_passthrough(): |
| 8 | cfg = AttributeQuantizerConfig(enabled=False) |
| 9 | quantizer = build_quantizer("means", cfg) |
| 10 | assert quantizer is None |
| 11 | |
| 12 | cfg2 = AttributeQuantizerConfig(enabled=True, bitwidth=None) |
| 13 | quantizer2 = build_quantizer("means", cfg2) |
| 14 | assert quantizer2 is None |
| 15 | |
| 16 | |
| 17 | def test_noise_quantization_outputs_q_step_and_stats(): |
nothing calls this directly
no test coverage detected