Skip to content

Commit

Permalink
adapr with one method for all types
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasdominik committed Oct 30, 2023
1 parent 6f37b8e commit d79bda5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Adapt.@adapt_structure AttnInFeed
#
# adapt for all Layers:
#
function Adapt.adapt_structure(to::Type, x::Unioin{Abstract_NN, Chain, AbstractLayer})
function Adapt.adapt_structure(to::Type, x::Union{Abstract_NN, Chain, AbstractLayer})


function adapt_property(to, x, pn)
Expand Down

0 comments on commit d79bda5

Please sign in to comment.