Skip to content

Commit

Permalink
Update some files
Browse files Browse the repository at this point in the history
  • Loading branch information
itsubaki committed Oct 21, 2023
1 parent a6b1b11 commit 15a45e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/lstm/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func NewSinCurve(batchSize int) *SinCurve {

x := make([]float64, N)
for i := 0; i < N; i++ {
x[i] = float64(i) * 2 * math.Pi / float64(N-1)
x[i] = 2 * math.Pi * float64(i) / float64(N-1)
}

y := make([]float64, N)
Expand Down

0 comments on commit 15a45e9

Please sign in to comment.