@@ -39,7 +39,7 @@ func.func @main(
3939 %0 = "stablehlo.reshape"(%image) : (tensor<28x28xf32>) -> tensor<1x784xf32>
4040 %1 = "stablehlo.dot"(%0, %weights) : (tensor<1x784xf32>, tensor<784x10xf32>) -> tensor<1x10xf32>
4141 %2 = "stablehlo.add"(%1, %bias) : (tensor<1x10xf32>, tensor<1x10xf32>) -> tensor<1x10xf32>
42- %3 = "stablehlo.constant"() { value = dense<0.0> : tensor<1x10xf32> } : () -> tensor<1x10xf32>
42+ %3 = "stablehlo.constant"() {value = dense<0.0> : tensor<1x10xf32>} : () -> tensor<1x10xf32>
4343 %4 = "stablehlo.maximum"(%2, %3) : (tensor<1x10xf32>, tensor<1x10xf32>) -> tensor<1x10xf32>
4444 "func.return"(%4): (tensor<1x10xf32>) -> ()
4545}
@@ -1965,8 +1965,10 @@ semantics change.
19651965``` mlir
19661966%results = "stablehlo.composite"(%input0, %input1) {
19671967 name = "my_namespace.my_op",
1968+ composite_attributes = {
1969+ my_attribute = "my_value"
1970+ },
19681971 decomposition = @my_op,
1969- composite_attributes = { my_attribute = "my_value" },
19701972 version = 1 : i32
19711973} : (tensor<f32>, tensor<f32>) -> tensor<f32>
19721974```
@@ -3871,7 +3873,7 @@ Semantics of `outfeed_config` is implementation-defined.
38713873#### Examples
38723874
38733875``` mlir
3874- %result = "stablehlo.outfeed"(%inputs0 , %token) {
3876+ %result = "stablehlo.outfeed"(%input0 , %token) {
38753877 outfeed_config = ""
38763878} : (tensor<2x2x2xi64>, !stablehlo.token) -> !stablehlo.token
38773879```
0 commit comments