コンテンツにスキップ

Contrib operators

contrib ops domainには、デフォルトでランタイムに組み込まれている演算子が含まれています。コアランタイムパッケージのバイナリサイズの増加を避けるため、選択された演算子のみがcontrib演算子として追加されます。可能な場合は、カスタム演算子を使用する必要があります。

contrib演算子のスキーマは、ONNX Runtimeリポジトリで文書化されています。

リリースドキュメント
Mainhttps://github.com/microsoft/onnxruntime/blob/main/docs/ContribOperators.md
1.20https://github.com/microsoft/onnxruntime/blob/rel-1.20.0/docs/ContribOperators.md
1.19https://github.com/microsoft/onnxruntime/blob/rel-1.19.0/docs/ContribOperators.md
1.18https://github.com/microsoft/onnxruntime/blob/rel-1.18.0/docs/ContribOperators.md
1.17https://github.com/microsoft/onnxruntime/blob/rel-1.17.0/docs/ContribOperators.md
1.16https://github.com/microsoft/onnxruntime/blob/rel-1.16.0/docs/ContribOperators.md
1.15https://github.com/microsoft/onnxruntime/blob/rel-1.15.0/docs/ContribOperators.md
1.14https://github.com/microsoft/onnxruntime/blob/rel-1.14.0/docs/ContribOperators.md
1.13https://github.com/microsoft/onnxruntime/blob/rel-1.13.1/docs/ContribOperators.md
1.12https://github.com/microsoft/onnxruntime/blob/rel-1.12.0/docs/ContribOperators.md
1.11https://github.com/microsoft/onnxruntime/blob/rel-1.11.0/docs/ContribOperators.md
1.10https://github.com/microsoft/onnxruntime/blob/rel-1.10.0/docs/ContribOperators.md
1.9https://github.com/microsoft/onnxruntime/blob/rel-1.9.0/docs/ContribOperators.md
1.8https://github.com/microsoft/onnxruntime/blob/rel-1.8.0/docs/ContribOperators.md
1.7https://github.com/microsoft/onnxruntime/blob/rel-1.7.0/docs/ContribOperators.md

カスタム演算子のスキーマと形状推論関数は、ONNX_CONTRIB_OPERATOR_SCHEMAを使用してcontrib_defs.ccに追加する必要があります。例:Inverse演算子