Skip to content

Commit

Permalink
Add mention of issue FluxML#2040
Browse files Browse the repository at this point in the history
  • Loading branch information
christiangnrd committed Aug 30, 2022
1 parent bb18173 commit f5793b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/functor.jl
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function params(m...)
return ps
end

# Allows caching of the parameters when params is called within gradient()
# Allows caching of the parameters when params is called within gradient() to fix #2040.
@non_differentiable params(m...)

struct FluxCUDAAdaptor end
Expand Down

0 comments on commit f5793b5

Please sign in to comment.