Skip to content

Commit

Permalink
Update course12/lecture_en.md
Browse files Browse the repository at this point in the history
Co-authored-by: Zihang Ye <[email protected]>
  • Loading branch information
yqyq-w and peter-jerry-ye authored Jun 3, 2024
1 parent 140dcf0 commit 167fb92
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions course12/lecture_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,10 @@ Now, let's take a look at automatic differentiation. We first define the operati

```moonbit
trait Number {
constant(Double) -> Self
op_add(Self, Self) -> Self
op_mul(Self, Self) -> Self
value(Self) -> Double // Get the value of the current computation
constant(Double) -> Self
op_add(Self, Self) -> Self
op_mul(Self, Self) -> Self
value(Self) -> Double // Get the value of the current computation
}
```

Expand Down

0 comments on commit 167fb92

Please sign in to comment.