pulsatrix
Loading...
Searching...
No Matches
rnn_module.hpp File Reference

Vanilla (Elman) recurrent layer – this codebase's first recurrent module. More...

#include <optional>
#include <initializer_list>
#include <vector>
#include "pulsatrix/module.hpp"
Include dependency graph for rnn_module.hpp:

Go to the source code of this file.

Classes

class  pulsatrix::RNNModule
 h_t = tanh(x_t @ W_xh + h_{t-1} @ W_hh + b_h), h_0 = 0 (zero-initialized, not learnable – a deliberate scope cut, see the class-level conservation note below). Input (N, L, input_size) -> output (N, L, hidden_size), the full hidden-state sequence. Single layer, tanh only, no bidirectional/multi-layer/ variable-length support. More...
 

Namespaces

namespace  pulsatrix
 

Detailed Description

Vanilla (Elman) recurrent layer – this codebase's first recurrent module.