Open
Description
Motivation and description

It would be easier and I don't have to explictly import Flux
and just specify :relu
because I coming to MLJFlux
because I am not interested in using or importing Flux
.
Possible Implementation
Something like:
function get_activation(func_symbol::Symbol)
if hasproperty(Flux, func_symbol)
return getproperty(Flux, func_symbol)
else
error("Function $func_symbol not found in Flux.")
end
end
Metadata
Metadata
Assignees
Labels
No labels