Skip to content

Commit 191c2be

Browse files
committed
Update input type in ODS documentation comment (openxla#2768)
Following up on PR openxla#1872, this updates the ODS documentation comment to show the new input type of `array<i64: foo>` instead of the old `dense<foo> : tensor<Nxi64>`.
1 parent 6630b00 commit 191c2be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stablehlo/dialect/StablehloOps.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2973,8 +2973,8 @@ def StableHLO_SelectAndScatterOp: StableHLO_Op<"select_and_scatter",
29732973
%0 = stablehlo.add %arg0, %arg1 : tensor<i64>
29742974
stablehlo.return %0 : tensor<i64>
29752975
}) {
2976-
window_dimensions = dense<[3, 1]> : tensor<2xi64>,
2977-
window_strides = dense<[2, 1]> : tensor<2xi64>,
2976+
window_dimensions = array<i64: [3, 1]>,
2977+
window_strides = array<i64: [2, 1]>,
29782978
padding = dense<[[0, 1], [0, 0]]> : tensor<2x2xi64>
29792979
} : (tensor<4x2xi64>, tensor<2x2xi64>, tensor<i64>) -> tensor<4x2xi64>
29802980
```

0 commit comments

Comments
 (0)