pub struct VitVideoEncoderRecord<B: Backend> {
pub tubelet_embed: <TubeletEmbedding<B> as Module<B>>::Record,
pub positional_encoding: <RotaryPositionEncoding3D<B> as Module<B>>::Record,
pub blocks: <Vec<VideoTransformerBlock<B>> as Module<B>>::Record,
pub norm: <LayerNorm<B> as Module<B>>::Record,
pub embed_dim: <usize as Module<B>>::Record,
}Expand description
The record type for the module.
Fields§
§tubelet_embed: <TubeletEmbedding<B> as Module<B>>::RecordThe module record associative type.
positional_encoding: <RotaryPositionEncoding3D<B> as Module<B>>::RecordThe module record associative type.
blocks: <Vec<VideoTransformerBlock<B>> as Module<B>>::RecordThe module record associative type.
norm: <LayerNorm<B> as Module<B>>::RecordThe module record associative type.
embed_dim: <usize as Module<B>>::RecordThe module record associative type.
Trait Implementations§
Source§impl<B: Backend> Record<B> for VitVideoEncoderRecord<B>
impl<B: Backend> Record<B> for VitVideoEncoderRecord<B>
Source§type Item<S: PrecisionSettings> = VitVideoEncoderRecordItem<B, S>
type Item<S: PrecisionSettings> = VitVideoEncoderRecordItem<B, S>
Type of the item that can be serialized and deserialized.
Auto Trait Implementations§
impl<B> !Freeze for VitVideoEncoderRecord<B>
impl<B> !RefUnwindSafe for VitVideoEncoderRecord<B>
impl<B> Send for VitVideoEncoderRecord<B>
impl<B> !Sync for VitVideoEncoderRecord<B>
impl<B> Unpin for VitVideoEncoderRecord<B>where
<B as Backend>::FloatTensorPrimitive: Unpin,
<B as Backend>::QuantizedTensorPrimitive: Unpin,
<B as Backend>::Device: Unpin,
impl<B> UnsafeUnpin for VitVideoEncoderRecord<B>where
<B as Backend>::FloatTensorPrimitive: UnsafeUnpin,
<B as Backend>::QuantizedTensorPrimitive: UnsafeUnpin,
<B as Backend>::Device: UnsafeUnpin,
impl<B> !UnwindSafe for VitVideoEncoderRecord<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