Skip to content

Commit

Permalink
doc fix relu --> tanh (#601)
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Evans <[email protected]>
  • Loading branch information
markevans and Mark Evans authored Nov 2, 2024
1 parent 4a66ba4 commit d1dc13b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/axon.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3773,7 +3773,7 @@ defmodule Axon do
layers with `:tanh` layers:
tanh_rewriter = fn [%Axon{} = x], _output ->
Axon.relu(x)
Axon.tanh(x)
end
Axon.rewrite_nodes(model, fn
Expand Down

0 comments on commit d1dc13b

Please sign in to comment.