The version of the IR this model targets. See Version enum above. This field MUST be present.
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
The name of the framework or tool used to generate this model. This field SHOULD be present to indicate which implementation/tool/framework emitted the model.
The version of the framework or tool used to generate this model. This field SHOULD be present to indicate which implementation/tool/framework emitted the model.
Domain name of the model.
We use reverse domain names as name space indicators. For example:
com.facebook.fair
or com.microsoft.cognitiveservices
Together with model_version
and GraphProto.name, this forms the unique identity of
the graph.
The version of the graph encoded. See Version enum below.
A human-readable documentation for this model. Markdown is allowed.
The parameterized graph that is evaluated to execute the model.
Named metadata values; keys should be distinct.
A human-readable documentation for this model.
A human-readable documentation for this model. Markdown is allowed.
Domain name of the model.
Domain name of the model.
We use reverse domain names as name space indicators. For example:
com.facebook.fair
or com.microsoft.cognitiveservices
Together with model_version
and GraphProto.name, this forms the unique identity of
the graph.
The parameterized graph that is evaluated to execute the model.
The version of the IR this model targets.
The version of the IR this model targets. See Version enum above. This field MUST be present.
Named metadata values; keys should be distinct.
The version of the graph encoded.
The version of the graph encoded. See Version enum below.
The OperatorSets this model relies on.
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
The name of the framework or tool used to generate this model.
The name of the framework or tool used to generate this model. This field SHOULD be present to indicate which implementation/tool/framework emitted the model.
The version of the framework or tool used to generate this model.
The version of the framework or tool used to generate this model. This field SHOULD be present to indicate which implementation/tool/framework emitted the model.
(Since version 0.6.0) Use toPMessage
(Since version 0.6.0) Use getField that accepts a ScalaPB descriptor and returns PValue
Models
ModelProto is a top-level file/container format for bundling a ML model and associating its computation graph with metadata.
The semantics of the model are described by the associated GraphProto.
The version of the IR this model targets. See Version enum above. This field MUST be present.
The OperatorSets this model relies on. All ModelProtos MUST have at least one entry that specifies which version of the ONNX OperatorSet is being imported. All nodes in the ModelProto's graph will bind against the operator with the same-domain/same-op_type operator with the HIGHEST version in the referenced operator sets.
The name of the framework or tool used to generate this model. This field SHOULD be present to indicate which implementation/tool/framework emitted the model.
The version of the framework or tool used to generate this model. This field SHOULD be present to indicate which implementation/tool/framework emitted the model.
Domain name of the model. We use reverse domain names as name space indicators. For example:
com.facebook.fair
orcom.microsoft.cognitiveservices
Together withmodel_version
and GraphProto.name, this forms the unique identity of the graph.The version of the graph encoded. See Version enum below.
A human-readable documentation for this model. Markdown is allowed.
The parameterized graph that is evaluated to execute the model.
Named metadata values; keys should be distinct.