|
| OnnxRuntimeOpSchemaRegistry ()=default |
|
common::Status | SetBaselineAndOpsetVersionForDomain (const std::string &domain, int baseline_opset_version, int opset_version) |
|
DomainToVersionMap | GetLatestOpsetVersions (bool is_onnx_only) const override |
|
common::Status | RegisterOpSet (std::vector< ONNX_NAMESPACE::OpSchema > &schemas, const std::string &domain, int baseline_opset_version, int opset_version) |
|
void | GetSchemaAndHistory (const std::string &key, int maxInclusiveVersion, const std::string &domain, const ONNX_NAMESPACE::OpSchema **latest_schema, int *earliest_opset_where_unchanged) const override |
|
bool | empty () const |
|
const ONNX_NAMESPACE::OpSchema * | GetSchema (const std::string &key, const int maxInclusiveVersion, const std::string &domain) const final |
|
OnnxRuntimeOpSchemaRegistry is used to provide supplement for built-in ONNX schemas. Each OnnxRuntimeOpSchemaRegistry must register complete opsets delta from a baseline version to max opset version. (Please notice that baseline opsets are not include in the delta)
For example, ONNXRuntime is build with ONNX 1.2 which is at opset7, to use ONNX opset8 and opset9, user could create a OnnxRuntimeOpSchemaRegistry and config it as {baseline_opset_version = 7, opset_version = 9} it means this OnnxRuntimeOpSchemaRegistry contains the complete delta from opset7 to opset9.
Definition at line 72 of file schema_registry.h.