def _linear_bn() -> _List[_BackendPatternConfig]:
    """
    float: Linear -> BatchNorm1d
    qat: FakeQuant -> qat.LinearBn1d -> FakeQuant
    """
    return _weighted_bn_configs(
        mod=_nn.Linear,
        bn_mod=_nn.BatchNorm1d,
        fused_mod=_nni.LinearBn1d,
        qat_mod=_nniq.LinearBn1d,
        ref_quant_mod=_nnr.Linear,
    )

    float: Linear -> BatchNorm1d
    qat: FakeQuant -> qat.LinearBn1d -> FakeQuant
    
coremltools/optimize/torch/quantization/_backend_config.py