pub struct LSTMCellBatchCache {Show 14 fields
pub input: Array2<f64>,
pub hx: Array2<f64>,
pub cx: Array2<f64>,
pub gates: Array2<f64>,
pub input_gate: Array2<f64>,
pub forget_gate: Array2<f64>,
pub cell_gate: Array2<f64>,
pub output_gate: Array2<f64>,
pub cy: Array2<f64>,
pub hy: Array2<f64>,
pub input_dropout_mask: Option<Array2<f64>>,
pub recurrent_dropout_mask: Option<Array2<f64>>,
pub output_dropout_mask: Option<Array2<f64>>,
pub batch_size: usize,
}
Expand description
Batch cache for multiple sequences processed simultaneously
Fields§
§input: Array2<f64>
§hx: Array2<f64>
§cx: Array2<f64>
§gates: Array2<f64>
§input_gate: Array2<f64>
§forget_gate: Array2<f64>
§cell_gate: Array2<f64>
§output_gate: Array2<f64>
§cy: Array2<f64>
§hy: Array2<f64>
§input_dropout_mask: Option<Array2<f64>>
§recurrent_dropout_mask: Option<Array2<f64>>
§output_dropout_mask: Option<Array2<f64>>
§batch_size: usize
Trait Implementations§
Source§impl Clone for LSTMCellBatchCache
impl Clone for LSTMCellBatchCache
Source§fn clone(&self) -> LSTMCellBatchCache
fn clone(&self) -> LSTMCellBatchCache
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for LSTMCellBatchCache
impl RefUnwindSafe for LSTMCellBatchCache
impl Send for LSTMCellBatchCache
impl Sync for LSTMCellBatchCache
impl Unpin for LSTMCellBatchCache
impl UnwindSafe for LSTMCellBatchCache
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more