def METHOD_NAME(model: NNCFNetwork) -> NNCFNetwork:
    """
    Remove all unused quantizer operators from the model.
    :param model: Compressed model.
    :return: The modified NNCF network.
    """
    if hasattr(model.nncf, "external_quantizers"):
        for key in list(model.nncf.external_quantizers.keys()):
            op = model.nncf.external_quantizers[key]
            if isinstance(op, BaseQuantizer) and not op.is_enabled_quantization():
                model.nncf.external_quantizers.pop(key)
    for node in model.nncf.get_original_graph().get_all_nodes():
        if node.node_type in ["nncf_model_input", "nncf_model_output"]:
            continue
        nncf_module = model.nncf.get_containing_module(node.node_name)
        if hasattr(nncf_module, "pre_ops"):
            for key in list(nncf_module.pre_ops.keys()):
                op = nncf_module.get_pre_op(key)
                if isinstance(op, BaseQuantizer) and not op.is_enabled_quantization():
                    nncf_module.remove_pre_forward_operation(key)
        if hasattr(nncf_module, "post_ops"):
            for key in list(nncf_module.post_ops.keys()):
                op = nncf_module.post_ops(key)
                if isinstance(op, BaseQuantizer) and not op.is_enabled_quantization():
                    nncf_module.remove_post_forward_operation(key)
    return model