Supported onnx operators
February 19, 2021 ยท View on GitHub
These are the onnx operators that are supported by tensor-js at the moment. If you'd like to see more, open an issue or a Pull Request if you have it implemented already. If not specified otherwise, all operators are supported on all backends and on onnx opsets 7 - 12.
This file is automatically generated. To update it run
$ npm run onnxTable
| Operator | Opsets | Backends |
|---|---|---|
| Abs | All | All |
| Acos | All | All |
| Acosh | 9,10,11,12 | CPU,WASM |
| Add | All | All |
| Asin | All | All |
| Asinh | 9,10,11,12 | CPU,WASM |
| Atan | All | All |
| Atanh | 9,10,11,12 | CPU,WASM |
| BatchNormalization | 9,10 | All |
| Ceil | All | All |
| Celu | 12 | All |
| Clip | 7,8,9,10 | All |
| Concat | All | All |
| Constant | All | All |
| ConstantOfShape | 9,10,11,12 | All |
| Conv | All | All |
| Cos | All | All |
| Cosh | 9,10,11,12 | All |
| Div | All | All |
| Elu | All | All |
| Exp | All | All |
| Expand | 9,10,11,12 | All |
| Flatten | All | All |
| Floor | All | All |
| Gather | All | All |
| Gemm | All | All |
| GlobalAveragePool | All | All |
| HardSigmoid | All | All |
| Identity | All | All |
| InstanceNormalization | 9,10,11,12 | All |
| LeakyRelu | All | All |
| Log | All | All |
| MatMul | All | All |
| Mean | All | All |
| Mul | All | All |
| Neg | All | All |
| PRelu | All | All |
| Pad | 7,8,9,10 | All |
| Pow | All | All |
| Range | 11,12 | All |
| Reciprocal | All | All |
| ReduceL1 | All | All |
| ReduceL2 | All | All |
| ReduceLogSum | All | All |
| ReduceLogSumExp | All | All |
| ReduceMax | All | All |
| ReduceMean | All | All |
| ReduceMin | All | All |
| ReduceProd | All | All |
| ReduceSum | All | All |
| ReduceSumSquare | All | All |
| Relu | All | All |
| Reshape | All | All |
| Round | 11,12 | All |
| Selu | All | All |
| Shape | All | All |
| Sigmoid | All | All |
| Sign | 9,10,11,12 | All |
| Sin | All | All |
| Sinh | 9,10,11,12 | All |
| Size | All | All |
| Slice | All | All |
| Softmax | All | All |
| Softplus | All | All |
| Softsign | All | All |
| Sqrt | All | All |
| Squeeze | All | All |
| Sub | All | All |
| Sum | All | All |
| Tan | All | All |
| Tanh | 9,10,11,12 | All |
| Tile | All | All |
| Transpose | All | All |
| Unsqueeze | 7,8,9,10 | All |
| Upsample | All | All |