Annex v0.1.0 Annex.Layer.Sequence 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.
Callback implementation for Annex.Learner.init_learner/2.
Callback implementation for Annex.Learner.predict/2.
Callback implementation for Annex.Learner.train/4.
Callback implementation for Annex.Learner.train_opts/1.
Link to this section Types
t()
View Source
t() :: %Annex.Layer.Sequence{
init_options: Keyword.t(),
initialized?: boolean(),
layers: [Annex.Layer.t()],
train_options: Keyword.t()
}
t() :: %Annex.Layer.Sequence{
init_options: Keyword.t(),
initialized?: boolean(),
layers: [Annex.Layer.t()],
train_options: Keyword.t()
}
Link to this section Functions
backprop(seq, 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.
build(opts \\ []) View Source
encoder() View Source
Callback implementation for Annex.Layer.encoder/0.
feedforward(seq, inputs) View Source
Callback implementation for Annex.Layer.feedforward/2.
get_layers(sequence) View Source
init_layer(seq, opts \\ []) View Source
Callback implementation for Annex.Layer.init_layer/2.
init_learner(seq, opts \\ []) View Source
Callback implementation for Annex.Learner.init_learner/2.
predict(seq, data) View Source
Callback implementation for Annex.Learner.predict/2.
total_loss_pd(outputs, labels) View Source
train(seq, data, labels, opts)
View Source
train(t(), Annex.Data.t(), Annex.Data.t(), Keyword.t()) ::
{[float()], t()}
train(t(), Annex.Data.t(), Annex.Data.t(), Keyword.t()) :: {[float()], t()}
Callback implementation for Annex.Learner.train/4.
train_opts(opts) View Source
Callback implementation for Annex.Learner.train_opts/1.