Imports and converts an serialized ONNX model from a ModelProto to an nGraph Function representation.
The function can be used only internally by OV components! Passing ModelProto between componets which use different protobuf library can cause segfaults. If stream parsing fails or the ONNX model contains unsupported ops, the function throws an ngraph_error exception.
Reference to a GraphProto object.
The path to the imported onnx model. It is required if the imported model uses data saved in external files.
An nGraph function that represents a single output from the created graph.