private
inputscale
— function
inputscale(λ; activation = identity)
Scale the input by a scalar λ
and applies an activation function to it.
Equivalent to activation.(λ .* x)
.
private
inputscale
— function
inputscale(λ; activation = identity)
Scale the input by a scalar λ
and applies an activation function to it.
Equivalent to activation.(λ .* x)
.