pub struct LatentNetworkRecord<M>where
M: Module + ModuleDisplay + Module,{
pub in_proj: <Linear as Module>::Record,
pub layers: <Layers<M> as Module>::Record,
pub out_proj: <Linear as Module>::Record,
pub class_tokens: EmptyRecord,
pub class_tokens_emb: <Option<Param<Tensor<2>>> as Module>::Record,
}Expand description
The record type for the module.
Fields§
§in_proj: <Linear as Module>::RecordThe module record associative type.
layers: <Layers<M> as Module>::RecordThe module record associative type.
out_proj: <Linear as Module>::RecordThe module record associative type.
class_tokens: EmptyRecord§class_tokens_emb: <Option<Param<Tensor<2>>> as Module>::RecordThe module record associative type.
Trait Implementations§
Source§impl<M> Record for LatentNetworkRecord<M>where
M: Module + ModuleDisplay + Module,
impl<M> Record for LatentNetworkRecord<M>where
M: Module + ModuleDisplay + Module,
Auto Trait Implementations§
impl<M> !Freeze for LatentNetworkRecord<M>
impl<M> !RefUnwindSafe for LatentNetworkRecord<M>
impl<M> !UnwindSafe for LatentNetworkRecord<M>
impl<M> Send for LatentNetworkRecord<M>
impl<M> Sync for LatentNetworkRecord<M>where
<M as Module>::Record: Sync,
impl<M> Unpin for LatentNetworkRecord<M>where
<M as Module>::Record: Unpin,
impl<M> UnsafeUnpin for LatentNetworkRecord<M>
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