(m: onnx.ModelProto, nodes: List[onnx.NodeProto])
Add features to output in pb, so that ONNX Runtime will output them.
    :param m: the model that will be run in ONNX Runtime
    :param nodes: nodes whose outputs will be added into the graph outputs
Add features to output in pb, so that ONNX Runtime will output them.
    :param m: the model that will be run in ONNX Runtime
    :param nodes: nodes whose outputs will be added into the graph outputs
Add features to output in pb so that ONNX Runtime will output them . : param m : the model that will be run in ONNX Runtime : param nodes : nodes whose outputs will be added into the graph outputs
def add_features_to_output(m: onnx.ModelProto, nodes: List[onnx.NodeProto]) -> None:
    """
    Add features to output in pb, so that ONNX Runtime will output them.
    :param m: the model that will be run in ONNX Runtime
    :param nodes: nodes whose outputs will be added into the graph outputs
    """
    for node in nodes:
        for output in node.output:
            m.graph.output.extend([onnx.ValueInfoProto(name=output)])
def add_features_to_output ( m : onnx . ModelProto , nodes : List [ onnx . NodeProto ] ) -> None : for node in nodes : for output in node . output : m . graph . output . extend ( [ onnx . ValueInfoProto ( name = output ) ] )