Skip to content

Commit 4780543

Browse files
committed
fix docs
1 parent 410ee6e commit 4780543

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/tutorials/partial-evaluation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ The StableHLO IR code generated here is:
5757
# output
5858
5959
module @reactant_add attributes {mhlo.num_partitions = 1 : i64, mhlo.num_replicas = 1 : i64} {
60-
func.func @main(%arg0: tensor<i64>, %arg1: tensor<i64>) -> tensor<i64> {
60+
func.func @main(%arg0: tensor<i64>, %arg1: tensor<i64>) -> tensor<i64> attributes {enzymexla.memory_effects = []} {
6161
%0 = stablehlo.add %arg0, %arg1 : tensor<i64>
6262
return %0 : tensor<i64>
6363
}
@@ -101,7 +101,7 @@ variable input `%arg0`:
101101
# output
102102
103103
module @reactant_add attributes {mhlo.num_partitions = 1 : i64, mhlo.num_replicas = 1 : i64} {
104-
func.func @main(%arg0: tensor<i64>) -> tensor<i64> {
104+
func.func @main(%arg0: tensor<i64>) -> tensor<i64> attributes {enzymexla.memory_effects = []} {
105105
%c = stablehlo.constant dense<4> : tensor<i64>
106106
%0 = stablehlo.add %arg0, %c : tensor<i64>
107107
return %0 : tensor<i64>

0 commit comments

Comments
 (0)