Module candle_nn::rnn

source ·
Expand description

Recurrent Neural Networks

Structs§

  • A Gated Recurrent Unit (GRU) layer.
  • The state for a GRU network, this contains a single tensor.
  • A Long Short-Term Memory (LSTM) layer.
  • The state for a LSTM network, this contains two tensors.

Traits§

  • Trait for Recurrent Neural Networks.

Functions§

  • Creates a GRU layer.
  • Creates a LSTM layer.