Annex v0.1.0 Annex.Layer.Dense View Source

Link to this section Summary

Link to this section Types

Link to this type

t() View Source
t() :: %Annex.Layer.Dense{
  cols: non_neg_integer(),
  neurons: Data.float_data(),
  rows: non_neg_integer()
}

Link to this section Functions

Link to this function

backprop(layer, backprops) View Source

Callback implementation for Annex.Layer.backprop/2.

Link to this function

encoder() View Source
encoder() :: Annex.Data

Callback implementation for Annex.Layer.encoder/0.

Link to this function

feedforward(layer, inputs) View Source
feedforward(t(), [float()]) :: {[float()], t()}

Callback implementation for Annex.Layer.feedforward/2.

Link to this function

init_layer(layer, opts \\ []) View Source
init_layer(t(), Keyword.t()) :: {:ok, t()}

Callback implementation for Annex.Layer.init_layer/2.