(model)
return onnx_output_dict
Takes in an onnx model and returns a dictionary 
    of onnx output names mapped to a tuple that is (output_name, type, shape)
Takes in an onnx model and returns a dictionary 
    of onnx output names mapped to a tuple that is (output_name, type, shape)
Takes in an onnx model and returns a dictionary of onnx output names mapped to a tuple that is ( output_name type shape )
def _get_onnx_outputs_info(model): # type: (...) -> Dict[Text, EdgeInfo]
    """
    Takes in an onnx model and returns a dictionary 
    of onnx output names mapped to a tuple that is (output_name, type, shape)
    """
    if isinstance(model, str):
        onnx_model = onnx.load(model)
    elif isinstance(model, onnx.ModelProto):
        onnx_model = model

    graph = onnx_model.graph
    onnx_output_dict = {}
    for o in graph.output:
        out = _input_from_onnx_input(o)
        onnx_output_dict[out[0]] = out
    return onnx_output_dict
def _get_onnx_outputs_info ( model ) : # type: (...) -> Dict[Text, EdgeInfo] if isinstance ( model , str ) : onnx_model = onnx . load ( model ) elif isinstance ( model , onnx . ModelProto ) : onnx_model = model graph = onnx_model . graph onnx_output_dict = { } for o in graph . output : out = _input_from_onnx_input ( o ) onnx_output_dict [ out [ 0 ] ] = out return onnx_output_dict