def _linear() -> _List[_BackendPatternConfig]:
    """
    float: Linear
    qat: FakeQuant -> qat.Linear -> FakeQuant
    """
    return _weighted_configs(
        mod=_nn.Linear,
        func_mod=_F.linear,
        qat_mod=_nnq.Linear,
        ref_quant_mod=_nnr.Linear,
    )

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