def remove_nodes(model, nodes_list):
    """
    Delete nodes according to the nodes in the list
    """
    for node in nodes_list:
        model.graph.node.remove(node)
    return model

    Delete nodes according to the nodes in the list
    
olive/passes/onnx/vitis_ai/quant_utils.py