Annex v0.1.0 Annex.Layer.Activation View Source
Link to this section Summary
Functions
Callback implementation for Annex.Layer.backprop/2.
Callback implementation for Annex.Layer.encoder/0.
Callback implementation for Annex.Layer.feedforward/2.
Callback implementation for Annex.Layer.init_layer/2.
Link to this section Types
Link to this type
func_type()
View Source
func_type()
View Source
func_type() :: :float | :list
func_type() :: :float | :list
Link to this section Functions
Link to this function
backprop(layer, backprops)
View Source
backprop(layer, backprops)
View Source
backprop(t(), Annex.Layer.Backprop.t()) :: {t(), Annex.Layer.Backprop.t()}
backprop(t(), Annex.Layer.Backprop.t()) :: {t(), Annex.Layer.Backprop.t()}
Callback implementation for Annex.Layer.backprop/2.
Link to this function
build(name)
View Source
build(name)
View Source
build(:relu | :sigmoid | :tanh | {:relu, number()}) :: Annex.Activation.t()
build(:relu | :sigmoid | :tanh | {:relu, number()}) :: Annex.Activation.t()
Link to this function
encoder()
View Source
encoder()
View Source
encoder() :: Annex.Data
encoder() :: Annex.Data
Callback implementation for Annex.Layer.encoder/0.
Link to this function
feedforward(layer, inputs) View Source
Callback implementation for Annex.Layer.feedforward/2.
Link to this function
generate_outputs(act, inputs) View Source
Link to this function
get_activator(activation)
View Source
get_activator(activation)
View Source
get_activator(Annex.Layer.Activation.t()) :: (number() -> number())
get_activator(Annex.Layer.Activation.t()) :: (number() -> number())
Link to this function
get_derivative(activation)
View Source
get_derivative(activation)
View Source
get_derivative(Annex.Layer.Activation.t()) :: (number() -> number())
get_derivative(Annex.Layer.Activation.t()) :: (number() -> number())
Link to this function
init_layer(layer, opts) View Source
Callback implementation for Annex.Layer.init_layer/2.
Link to this function
relu(n) View Source
Link to this function
relu_deriv(x) View Source
Link to this function
relu_deriv(x, threshold) View Source
Link to this function
relu_with_threshold(n, threshold) View Source
Link to this function
sigmoid(n) View Source
Link to this function
sigmoid_deriv(x) View Source
Link to this function
softmax(values) View Source
Link to this function
tanh(n) View Source
Link to this function