Annex v0.1.0 Annex.Layer.Sequence View Source

Link to this section Summary

Link to this section Types

Link to this type

t() View Source
t() :: %Annex.Layer.Sequence{
  init_options: Keyword.t(),
  initialized?: boolean(),
  layers: [Annex.Layer.t()],
  train_options: Keyword.t()
}

Link to this section Functions

Callback implementation for Annex.Layer.backprop/2.

Callback implementation for Annex.Layer.encoder/0.

Link to this function

feedforward(seq, inputs) View Source

Callback implementation for Annex.Layer.feedforward/2.

Link to this function

init_layer(seq, opts \\ []) View Source

Callback implementation for Annex.Layer.init_layer/2.

Link to this function

init_learner(seq, opts \\ []) View Source
init_learner(t(), any()) :: {:error, any()} | {:ok, t()}

Callback implementation for Annex.Learner.init_learner/2.

Callback implementation for Annex.Learner.predict/2.

Link to this function

total_loss_pd(outputs, labels) View Source

Link to this function

train(seq, data, labels, opts) View Source
train(t(), Annex.Data.t(), Annex.Data.t(), Keyword.t()) ::
  {[float()], t()}

Callback implementation for Annex.Learner.train/4.

Callback implementation for Annex.Learner.train_opts/1.