oa::ml::nn::GruCell
One gated recurrent unit cell with an explicit caller-owned hidden state.
Declaration
pub struct GruCell { /* private fields */ }Public Rust declaration.
Public Methods
Associated Functions
pub fn new_with_seed( input_size: usize, hidden_size: usize, bias: bool, seed: u64, ) -> Result<Self>pub fn new_with_seed_on( engine: &Engine, input_size: usize, hidden_size: usize, bias: bool, seed: u64, ) -> Result<Self>Public Method Documentation
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
Construct a deterministically initialized GRU cell. Errors Returns an error when dimensions are zero, hidden size exceeds 1024, arithmetic overflows, or parameter allocation fails.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.