onnxruntime/js/web/docs/operators.md
Xueyun Zhu a54716e5a9
cherry pick outstanding commits (#7871)
* Fix bug in Transpose CUDA kernel (#7329)

* Fix permission error for ORTModule lock file (#7814)

* fix topo sort in quant tool (#7833)

* fix topo sort in quant tool

* add unit test and make the topo sort stable

* Relax tol for Conv1D fp16 test (#7844)

* Relax tol for Conv1D fp16 test

Co-authored-by: Sherlock Huang <bahuang@OrtTrainingDev3.af05slrtruoetgaxwwjv5nsq5e.px.internal.cloudapp.net>

* Resolve issue with wrapped ORTModule load_state_dict (#7847)

* Encapsulate children modules inside a ModuleAccessor object to prevent erroneuos iteration over children while loading the state dictionary

* Add named_models, models, apply methods, change ModuleAccessor to ModuleMetadata and modify unit tests

* Change ModuleMetadata module getter logic, raise NotImplementedError for add_modules

* Add comment explaining why overriding _load_from_state_dict method is needed

* fixed bugs in packed mode and enable pack mode tests in ci (#7848)

* fixed bugs in packed mode and enable pack mode tests in ci

* removed unnecessary space

* pr comments

* pr comments

* disable an average pool test

* try disabling another avg pool

* disable more avg pool tests

* disable maxpool tests

* add environment variable to control default training package's local version (#7849)

* [js] update documents (#7852)

* [js] update documents

* escape double quotes

* update operators.md

* resolve comments

* Support bool type for Pad CPU (#7856)

* Initial commit

* update

* nit

* Include ORT C/C++ API headers in the ORT Mobile AAR package (#7858)

* Add header files of ort c/c++ api to aar package

* Move header file selection to cmake based on EP choice

* fix duplicated node name (#7865)

* Clean up CPU kernel definition for opset 13 Pad (#7867)

Co-authored-by: Hariharan Seshadri <shariharan91@gmail.com>
Co-authored-by: Thiago Crepaldi <thiago.crepaldi@microsoft.com>
Co-authored-by: Yufeng Li <liyufeng1987@gmail.com>
Co-authored-by: Sherlock <baihan.huang@gmail.com>
Co-authored-by: Sherlock Huang <bahuang@OrtTrainingDev3.af05slrtruoetgaxwwjv5nsq5e.px.internal.cloudapp.net>
Co-authored-by: baijumeswani <bmeswani@microsoft.com>
Co-authored-by: Tixxx <tix@microsoft.com>
Co-authored-by: liqunfu <liqfu@microsoft.com>
Co-authored-by: Yulong Wang <yulongw@microsoft.com>
Co-authored-by: Guoyu Wang <62914304+gwang-msft@users.noreply.github.com>
Co-authored-by: Tianlei Wu <tlwu@microsoft.com>
2021-05-28 09:10:40 -07:00

26 KiB

Operators Support Table

The following table shows ai.onnx operators from which onnx opset version are currently supported by onnxjs. For example, 4-6, 8+ means ONNX Runtime Web currently support opset version 4 to 6, 8 and above.

See Compatibility for a list of the supported platforms.

This file is automatically generated from the def files via this script. Do not modify directly.

Operator WebGl Backend
Abs 6-12, 13+
Acos 7+
Acosh
Add 7-12, 13, 14+
And 7+
ArgMax
ArgMin
Asin 7+
Asinh
Atan 7+
Atanh
AveragePool 7-9, 10
BatchNormalization 7-8, 9-13, 14+
BitShift
Cast
Ceil 6-12, 13+
Celu
Clip 6-10
Compress
Concat 4-10, 11-12, 13+
ConcatFromSequence
Constant
ConstantOfShape
Conv 1-10, 11+
ConvInteger
ConvTranspose
Cos 7+
Cosh
CumSum
DepthToSpace 1-10, 11-12, 13+
DequantizeLinear
Det
Div 7-12, 13, 14+
Dropout 7-9, 10-11, 12, 13+
DynamicQuantizeLinear
Einsum
Elu 6+
Equal 7-10, 11-12, 13+
Erf
Exp 6-12, 13+
Expand
EyeLike
Flatten 1-8, 9-10, 11-12, 13+
Floor 6-12, 13+
GRU
Gather 1-10, 11-12, 13+
GatherElements
GatherND
Gemm 7-8, 9-10, 11-12, 13+
GlobalAveragePool 1+
GlobalLpPool
GlobalMaxPool 1+
Greater 7-8, 9-12, 13+
GreaterOrEqual
HardSigmoid
HardSwish
Hardmax
Identity 1-12, 13, 14+
If
InstanceNormalization 6+
IsInf
IsNaN
LRN
LSTM
LeakyRelu 6+
Less 7-8, 9-12, 13+
LessOrEqual
Log 6-12, 13+
LogSoftmax
Loop
LpNormalization
LpPool
MatMul 1-8, 9-12, 13+
MatMulInteger
Max
MaxPool 1-7, 8-9
MaxRoiPool
MaxUnpool
Mean
MeanVarianceNormalization
Min
Mod
Mul 7-12, 13, 14+
Multinomial
Neg 6-12, 13+
NegativeLogLikelihoodLoss
NonMaxSuppression
NonZero
Not 1+
OneHot
Or 7+
PRelu 7-8, 9+
Pad 2-10
Pow 7-11, 12, 13+
QLinearConv
QLinearMatMul
QuantizeLinear
RNN
RandomNormal
RandomNormalLike
RandomUniform
RandomUniformLike
Range
Reciprocal
ReduceL1
ReduceL2
ReduceLogSum 1-10, 11-12, 13+
ReduceLogSumExp
ReduceMax 1-10, 11, 12, 13+
ReduceMean 1-10, 11-12, 13+
ReduceMin 1-10, 11, 12, 13+
ReduceProd 1-10, 11-12, 13+
ReduceSum 1-10, 11-12, 13+
ReduceSumSquare 1-10, 11-12, 13+
Relu 6-12, 13, 14+
Reshape 5-12, 13, 14+
Resize 10, 11-12, 13+
ReverseSequence
RoiAlign
Round
Scan
Scatter
ScatterElements
ScatterND
Selu
SequenceAt
SequenceConstruct
SequenceEmpty
SequenceErase
SequenceInsert
SequenceLength
Shape
Shrink
Sigmoid 6-12, 13+
Sign
Sin 7+
Sinh
Size
Slice 1-9, 10, 11-12, 13+
Softmax 1-10, 11-12, 13+
SoftmaxCrossEntropyLoss
Softplus
Softsign
SpaceToDepth
Split 2-10, 11-12, 13+
SplitToSequence
Sqrt 6-12, 13+
Squeeze 1-10, 11-12, 13+
StringNormalizer
Sub 7-12, 13, 14+
Sum 6-7, 8-12, 13+
Tan 7+
Tanh 6-12, 13+
TfIdfVectorizer
ThresholdedRelu
Tile 6-12, 13+
TopK
Transpose 1-12, 13+
Trilu
Unique
Unsqueeze 1-10, 11-12, 13+
Upsample 7-8, 9
Where
Xor 7+