Idris2Doc : NN.Architectures.RNN

NN.Architectures.RNN

(source)

Definitions

RNNCell : Type->Type->Type->Type
  Defines the type of a RNN cell as a parametric map
@ x the type of the input
@ s the type of the state
@ y the type of the output

Visibility: public export
RNN : Type->Type->Type->Nat->Type
  Defines the type of the unrolled RNN as a parametric map
@ n the number of unroll steps

Visibility: public export
RNNImpl : (DPair (x, s) (constp) -> (y, s)) ->DPair (Vectnx, s) (constp) -> (Vectny, s)
  Given a rnn cell, implement the full RNN by iterating that cell
Helper function for `RNNPara`

Visibility: public export
RNNPara : (cell : RNNCellxsy) ->IsNotDependentcell=>RNNxsyn
  Parametric map for the full RNN

Visibility: public export
runRNN : (rnn : RNNxsyn) -> (xs : Vectnx) -> (initialState : s) ->Paramrnn (xs, initialState) ->Vectny
Visibility: public export
exampleRNN : RNNCellDoubleDoubleDouble
Visibility: public export
exampleInput : Vect10Double
Visibility: public export
exampleOutput : Vect10Double
Visibility: public export