.Flux
activations
function
defined in module
Flux
activations(c::Chain, input)
Like calling a
Chain
, but saves the result of each layer as an output.
julia> using Flux: activations
julia> c = Chain(x -> x + 1, x -> x * 2, x -> x ^ 3);
julia> activations(c, 1)
(2, 4, 64)
There is
1
method for Flux.activations
:
The following page links back here: