Back to Onnxruntime

Webgl Operators

js/web/docs/webgl-operators.md

1.25.135.5 KB
Original Source

Operators Support Table

The following table shows ai.onnx operators from which onnx opset version are currently supported by ONNX Runtime Web. 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 generate-webgl-operator-md.ts. Do not modify directly.

OperatorWebGl Backend
Abs6-12, 13+
Acos7-21, 22+
Acosh
Add7-12, 13, 14+
AffineGrid
And7+
ArgMax
ArgMin
Asin7-21, 22+
Asinh
Atan7-21, 22+
Atanh
Attention
AveragePool7-9, 10, 11-18, 19-21, 22+
BatchNormalization7-8, 9-13, 14, 15+
Bernoulli
BitCast
BitShift
BitwiseAnd
BitwiseNot
BitwiseOr
BitwiseXor
BlackmanWindow
Cast6-8, 9-12, 13-18, 19-20, 21-22, 23, 24, 25+
CastLike
Ceil6-12, 13+
Celu
CenterCropPad
Clip6-10, 11, 12, 13+
Col2Im
Compress
Concat4-10, 11-12, 13+
ConcatFromSequence
Constant
ConstantOfShape
Conv1-10, 11-21, 22+
ConvInteger
ConvTranspose1-10, 11-21, 22+
Cos7-21, 22+
Cosh
CumProd
CumSum
DFT
DeformConv
DepthToSpace1-10, 11-12, 13+
DequantizeLinear
Det
Div7-12, 13, 14+
Dropout7-9, 10-11, 12, 13-21, 22+
DynamicQuantizeLinear
Einsum
Elu6-21, 22+
Equal7-10, 11-12, 13-18, 19+
Erf
Exp6-12, 13+
Expand
EyeLike
Flatten1-8, 9-10, 11-12, 13-20, 21-22, 23, 24, 25+
Floor6-12, 13+
GRU
Gather1-10, 11-12, 13+
GatherElements
GatherND
Gelu
Gemm7-8, 9-10, 11-12, 13+
GlobalAveragePool1-21, 22+
GlobalLpPool
GlobalMaxPool1-21, 22+
Greater7-8, 9-12, 13+
GreaterOrEqual
GridSample
GroupNormalization
HammingWindow
HannWindow
HardSigmoid
HardSwish
Hardmax
Identity1-12, 13, 14-15, 16-18, 19-20, 21-22, 23, 24, 25+
If
ImageDecoder
InstanceNormalization6-21, 22+
IsInf
IsNaN
LRN1-12, 13+
LSTM
LayerNormalization
LeakyRelu6-15, 16+
Less7-8, 9-12, 13+
LessOrEqual
Log6-12, 13+
LogSoftmax
Loop
LpNormalization
LpPool
MatMul1-8, 9-12, 13+
MatMulInteger
Max
MaxPool1-7, 8-9, 10, 11, 12-21, 22+
MaxRoiPool
MaxUnpool
Mean
MeanVarianceNormalization
MelWeightMatrix
Min
Mish
Mod
Mul7-12, 13, 14+
Multinomial
Neg6-12, 13+
NegativeLogLikelihoodLoss
NonMaxSuppression
NonZero
Not1+
OneHot
Optional
OptionalGetElement
OptionalHasElement
Or7+
PRelu7-8, 9-15, 16+
Pad2-10, 11-12, 13-17, 18, 19-20, 21-22, 23, 24, 25+
Pow7-11, 12, 13-14, 15+
QLinearConv
QLinearMatMul
QuantizeLinear
RMSNormalization
RNN
RandomNormal
RandomNormalLike
RandomUniform
RandomUniformLike
Range
Reciprocal
ReduceL1
ReduceL2
ReduceLogSum1-10, 11-12, 13-17, 18+
ReduceLogSumExp
ReduceMax1-10, 11, 12, 13-17, 18-19, 20+
ReduceMean1-10, 11-12, 13-17, 18+
ReduceMin1-10, 11, 12, 13-17, 18-19, 20+
ReduceProd1-10, 11-12, 13-17, 18+
ReduceSum1-10, 11-12
ReduceSumSquare1-10, 11-12, 13-17, 18+
RegexFullMatch
Relu6-12, 13, 14+
Reshape5-12, 13, 14-18, 19-20, 21-22, 23, 24, 25+
Resize10, 11-12, 13-17, 18, 19+
ReverseSequence
RoiAlign
RotaryEmbedding
Round
STFT
Scan
Scatter
ScatterElements
ScatterND
Selu
SequenceAt
SequenceConstruct
SequenceEmpty
SequenceErase
SequenceInsert
SequenceLength
SequenceMap
Shape1-12, 13-14, 15-18, 19-20, 21-22, 23, 24, 25+
Shrink
Sigmoid6-12, 13+
Sign
Sin7-21, 22+
Sinh
Size
Slice1-9, 10, 11-12, 13+
Softmax1-10, 11-12, 13+
SoftmaxCrossEntropyLoss
Softplus
Softsign
SpaceToDepth
Split2-10, 11-12
SplitToSequence
Sqrt6-12, 13+
Squeeze1-10, 11-12, 13-20, 21-22, 23, 24, 25+
StringConcat
StringNormalizer
StringSplit
Sub7-12, 13, 14+
Sum6-7, 8-12, 13+
Swish
Tan7-21, 22+
Tanh6-12, 13+
TensorScatter
TfIdfVectorizer
ThresholdedRelu
Tile6-12, 13+
TopK
Transpose1-12, 13-20, 21-22, 23, 24, 25+
Trilu
Unique
Unsqueeze1-10, 11-12, 13-20, 21-22, 23, 24, 25+
Upsample7-8, 9
Where
Xor7+