Commit dfafb2e
authored
Spec's scatter example has incorrect dimensions (#2876)
In scatter's example, the dimensions for `%update` don't match between
the commented input and the MLIR.
https://github.com/openxla/stablehlo/blob/96acdcb7724f4a9eec6d2e5af2597b0750c13948/docs/spec.md?plain=1#L5739-L5749
https://github.com/openxla/stablehlo/blob/96acdcb7724f4a9eec6d2e5af2597b0750c13948/docs/spec.md?plain=1#L5763
```python
>>> jnp.array([
... [
... [[1, 1], [1, 1], [1, 1]],
... [[1, 1], [1, 1], [1, 1]]
... ],
... [
... [[1, 1], [1, 1], [1, 1]],
... [[1, 1], [1, 1], [1, 1]]
... ]
... ]).shape
(2, 2, 3, 2)
```1 parent 85fe3af commit dfafb2e
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5738 | 5738 | | |
5739 | 5739 | | |
5740 | 5740 | | |
5741 | | - | |
5742 | | - | |
| 5741 | + | |
| 5742 | + | |
5743 | 5743 | | |
5744 | 5744 | | |
5745 | | - | |
5746 | | - | |
| 5745 | + | |
| 5746 | + | |
5747 | 5747 | | |
5748 | 5748 | | |
5749 | 5749 | | |
| |||
0 commit comments