onnx.parser¶
parse_function¶
- onnx.parser.parse_function(function_text: str) FunctionProto [source]¶
Parse a string to build a FunctionProto.
- Parameters:
function_text (string) – formatted string
- Returns:
FunctionProto
parse_graph¶
- onnx.parser.parse_graph(graph_text: str) GraphProto [source]¶
Parse a string to build a GraphProto.
- Parameters:
graph_text (string) – formatted string
- Returns:
GraphProto
parse_model¶
- onnx.parser.parse_model(model_text: str) ModelProto [source]¶
Parse a string to build a ModelProto.
- Parameters:
model_text (string) – formatted string
- Returns:
ModelProto