pub struct RecurrentStats {
pub cell_type: String,
pub input_size: usize,
pub hidden_size: usize,
pub num_parameters: usize,
pub sequence_length: Option<usize>,
}Expand description
Diagnostic statistics for a recurrent cell / sequence run.
Fields§
§cell_type: StringHuman-readable cell type label (e.g. "RNN", "LSTM", "GRU").
input_size: usizeNumber of input features.
Number of hidden units.
num_parameters: usizeTotal number of learnable parameters.
sequence_length: Option<usize>Length of the most recently processed sequence, if applicable.
Implementations§
Trait Implementations§
Source§impl Clone for RecurrentStats
impl Clone for RecurrentStats
Source§fn clone(&self) -> RecurrentStats
fn clone(&self) -> RecurrentStats
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 RecurrentStats
impl RefUnwindSafe for RecurrentStats
impl Send for RecurrentStats
impl Sync for RecurrentStats
impl Unpin for RecurrentStats
impl UnsafeUnpin for RecurrentStats
impl UnwindSafe for RecurrentStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more