.Fluxactivations

function defined in module Flux


			activations(c::Chain, input)

Like calling a Chain, but saves the result of each layer as an output.

Examples


			julia> using Flux: activations

julia> c = Chain(x -> x + 1, x -> x * 2, x -> x ^ 3);

julia> activations(c, 1)
(2, 4, 64)
Methods

There is 1 method for Flux.activations: