Skip to content

Commit 5a66287

Browse files
sechkovajcwchen
andauthored
Add OperatorSetId definition in docs (onnx#4039)
* Add OperatorSetId definition in docs Signed-off-by: Teodora Sechkova <tsechkova@vmware.com> * Extend OperatorSetId definition Add additional information about version and domain fields. Signed-off-by: Teodora Sechkova <tsechkova@vmware.com> Co-authored-by: Chun-Wei Chen <jacky82226@gmail.com>
1 parent c940fa3 commit 5a66287

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/IR.md

+12
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,18 @@ Name|Type|Format|Description
114114
model_author|string|A comma-separated list of names.|The personal name of the author(s) of the model, and/or their organizations.
115115
model_license|string|Name or URL.|The well-known name or URL of the license under which the model is made available.
116116

117+
### Operator Set Identifiers
118+
119+
Each operator set is uniquely identified by a (domain, version) pair.
120+
121+
Name|Type|Description
122+
|---|---|---|
123+
domain|string|The domain of the operator set being identified.
124+
version|int64|The version of the operator set being identified. Same as 'opset_version' in the operator set.
125+
126+
The operator set version is a simple integer value that is monotonically increased as new versions of the operator set are published.
127+
128+
Operator sets other than the default operator set MUST specify a domain and SHOULD use reverse domain names based on the responsible organization's identity, the same convention that is used for [naming Java packages](https://docs.oracle.com/javase/tutorial/java/package/namingpkgs.html).
117129

118130
### Operator Sets
119131

0 commit comments

Comments
 (0)