Skip to content

Commit

Permalink
small fix in mnist classifier
Browse files Browse the repository at this point in the history
  • Loading branch information
lecopivo committed Dec 5, 2023
1 parent a9f867b commit 51ac69e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions SciLean/Modules/ML/MNIST.lean
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ def mnist (w x) :=
|> map gelu
|> avgPool
|> dense 100 w₂ b₂
|> map gelu
|> dense 10 w₃ b₃) w x
|> softMax 1
|> map gelu
|> dense 10 w₃ b₃
|> softMax 1) w x

#generate_revDeriv mnist w x
prop_by unfold mnist; simp[mnist.match_1]; fprop
Expand Down

0 comments on commit 51ac69e

Please sign in to comment.