@@ -346,7 +346,7 @@ fn test_matmul_square_matrix() {
346
346
| <a href =" https://github.com/onnx/onnx/blob/main/docs/Operators.md#Sin " >Sin</a >| <a href =" https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Sin-7 " >7</a >| ✅| ✅|
347
347
| <a href =" https://github.com/onnx/onnx/blob/main/docs/Operators.md#Sinh " >Sinh</a >| <a href =" https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Sinh-9 " >9</a >| ✅| ✅|
348
348
| <a href =" https://github.com/onnx/onnx/blob/main/docs/Operators.md#Size " >Size</a >| <a href =" https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Size-13 " >13</a >, <a href =" https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Size-1 " >1</a >| ✅| ✅|
349
- | <a href =" https://github.com/onnx/onnx/blob/main/docs/Operators.md#Slice " >Slice</a >| <a href =" https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Slice-13 " >13</a >, <a href =" https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Slice-11 " >11</a >, <a href =" https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Slice-10 " >10</a >, <a href =" https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Slice-1 " >1</a >|| ✅|
349
+ | <a href =" https://github.com/onnx/onnx/blob/main/docs/Operators.md#Slice " >Slice</a >| <a href =" https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Slice-13 " >13</a >, <a href =" https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Slice-11 " >11</a >, <a href =" https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Slice-10 " >10</a >, <a href =" https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Slice-1 " >1</a >| ✅ | ✅|
350
350
| <a href =" https://github.com/onnx/onnx/blob/main/docs/Operators.md#Softplus " >Softplus</a >| <a href =" https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Softplus-1 " >1</a >| ✅|
351
351
| <a href =" https://github.com/onnx/onnx/blob/main/docs/Operators.md#Softsign " >Softsign</a >| <a href =" https://github.com/onnx/onnx/blob/main/docs/Changelog.md#Softsign-1 " >1</a >| ✅|
352
352
| <a href =" https://github.com/onnx/onnx/blob/main/docs/Operators.md#SpaceToDepth " >SpaceToDepth</a >| <a href =" https://github.com/onnx/onnx/blob/main/docs/Changelog.md#SpaceToDepth-13 " >13</a >, <a href =" https://github.com/onnx/onnx/blob/main/docs/Changelog.md#SpaceToDepth-1 " >1</a >|
@@ -398,6 +398,8 @@ fn test_matmul_square_matrix() {
398
398
* For ` MatMul ` and ` Gemm ` , the matrix dimensions must be divisible by 2, or the output matrix must be of size (1, N). Matrix
399
399
multiplication only supports floats, not integers (this is a WebGPU/WGSL limitation).
400
400
401
+ * The Slice operator can only be computed for axes of length one. (i.e., there must always be exactly one axis.)
402
+
401
403
### Shape inference
402
404
403
405
WONNX needs to know the shape of input and output tensors for each operation in order to generate shader code for executing
0 commit comments