pub struct EEGEncoderRecord<B: Backend> {
pub patch_embedding: <PatchEmbedding<B> as Module<B>>::Record,
pub encoder_layers: <Vec<TransformerEncoderLayer<B>> as Module<B>>::Record,
pub global_tokens: <Param<Tensor<B, 3>> as Module<B>>::Record,
pub global_token_layer: <usize as Module<B>>::Record,
pub num_global_tokens: <usize as Module<B>>::Record,
}Expand description
The record type for the module.
Fields§
§patch_embedding: <PatchEmbedding<B> as Module<B>>::RecordThe module record associative type.
encoder_layers: <Vec<TransformerEncoderLayer<B>> as Module<B>>::RecordThe module record associative type.
global_tokens: <Param<Tensor<B, 3>> as Module<B>>::RecordThe module record associative type.
global_token_layer: <usize as Module<B>>::RecordThe module record associative type.
num_global_tokens: <usize as Module<B>>::RecordThe module record associative type.
Trait Implementations§
Source§impl<B: Backend> Record<B> for EEGEncoderRecord<B>
impl<B: Backend> Record<B> for EEGEncoderRecord<B>
Source§type Item<S: PrecisionSettings> = EEGEncoderRecordItem<B, S>
type Item<S: PrecisionSettings> = EEGEncoderRecordItem<B, S>
Type of the item that can be serialized and deserialized.
Auto Trait Implementations§
impl<B> !Freeze for EEGEncoderRecord<B>
impl<B> !RefUnwindSafe for EEGEncoderRecord<B>
impl<B> Send for EEGEncoderRecord<B>
impl<B> !Sync for EEGEncoderRecord<B>
impl<B> Unpin for EEGEncoderRecord<B>where
<B as Backend>::FloatTensorPrimitive: Unpin,
<B as Backend>::QuantizedTensorPrimitive: Unpin,
<B as Backend>::Device: Unpin,
impl<B> UnsafeUnpin for EEGEncoderRecord<B>where
<B as Backend>::FloatTensorPrimitive: UnsafeUnpin,
<B as Backend>::QuantizedTensorPrimitive: UnsafeUnpin,
<B as Backend>::Device: UnsafeUnpin,
impl<B> !UnwindSafe for EEGEncoderRecord<B>
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> 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