pub struct ClassificationModelRecordItem<B: Backend, S: PrecisionSettings> {
pub encoder: <<EEGEncoder<B> as Module<B>>::Record as Record<B>>::Item<S>,
pub full_linear: <<Linear<B> as Module<B>>::Record as Record<B>>::Item<S>,
pub channel_linear: <<Linear<B> as Module<B>>::Record as Record<B>>::Item<S>,
pub cls_fc1: <<Linear<B> as Module<B>>::Record as Record<B>>::Item<S>,
pub cls_fc2: <<Linear<B> as Module<B>>::Record as Record<B>>::Item<S>,
pub cls_fc3: <<Linear<B> as Module<B>>::Record as Record<B>>::Item<S>,
pub feature_size: <<usize as Module<B>>::Record as Record<B>>::Item<S>,
pub num_global_tokens: <<usize as Module<B>>::Record as Record<B>>::Item<S>,
}Expand description
The record item type for the module.
Fields§
§encoder: <<EEGEncoder<B> as Module<B>>::Record as Record<B>>::Item<S>Field to be serialized.
full_linear: <<Linear<B> as Module<B>>::Record as Record<B>>::Item<S>Field to be serialized.
channel_linear: <<Linear<B> as Module<B>>::Record as Record<B>>::Item<S>Field to be serialized.
cls_fc1: <<Linear<B> as Module<B>>::Record as Record<B>>::Item<S>Field to be serialized.
cls_fc2: <<Linear<B> as Module<B>>::Record as Record<B>>::Item<S>Field to be serialized.
cls_fc3: <<Linear<B> as Module<B>>::Record as Record<B>>::Item<S>Field to be serialized.
feature_size: <<usize as Module<B>>::Record as Record<B>>::Item<S>Field to be serialized.
num_global_tokens: <<usize as Module<B>>::Record as Record<B>>::Item<S>Field to be serialized.
Trait Implementations§
Source§impl<B: Backend, S: PrecisionSettings> Clone for ClassificationModelRecordItem<B, S>
impl<B: Backend, S: PrecisionSettings> Clone for ClassificationModelRecordItem<B, S>
Source§impl<'de, B: Backend, S: PrecisionSettings> Deserialize<'de> for ClassificationModelRecordItem<B, S>
impl<'de, B: Backend, S: PrecisionSettings> Deserialize<'de> for ClassificationModelRecordItem<B, S>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<B: Backend, S: PrecisionSettings> Serialize for ClassificationModelRecordItem<B, S>
impl<B: Backend, S: PrecisionSettings> Serialize for ClassificationModelRecordItem<B, S>
Auto Trait Implementations§
impl<B, S> Freeze for ClassificationModelRecordItem<B, S>
impl<B, S> !RefUnwindSafe for ClassificationModelRecordItem<B, S>
impl<B, S> Send for ClassificationModelRecordItem<B, S>
impl<B, S> Sync for ClassificationModelRecordItem<B, S>
impl<B, S> Unpin for ClassificationModelRecordItem<B, S>
impl<B, S> UnsafeUnpin for ClassificationModelRecordItem<B, S>
impl<B, S> !UnwindSafe for ClassificationModelRecordItem<B, S>
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