Struct stablediffusion_wgpu::model::autoencoder::MidRecord
source · pub struct MidRecord<B: Backend> {
pub block_1: <ResnetBlock<B> as Module<B>>::Record,
pub attn: <ConvSelfAttentionBlock<B> as Module<B>>::Record,
pub block_2: <ResnetBlock<B> as Module<B>>::Record,
}Expand description
The record type for the module.
Fields§
§block_1: <ResnetBlock<B> as Module<B>>::RecordThe module record associative type.
attn: <ConvSelfAttentionBlock<B> as Module<B>>::RecordThe module record associative type.
block_2: <ResnetBlock<B> as Module<B>>::RecordThe module record associative type.
Trait Implementations§
source§impl<B: Backend> Record for MidRecord<B>
impl<B: Backend> Record for MidRecord<B>
Auto Trait Implementations§
impl<B> RefUnwindSafe for MidRecord<B>where
<B as Backend>::TensorPrimitive<1>: RefUnwindSafe,
<B as Backend>::TensorPrimitive<4>: RefUnwindSafe,
impl<B> Send for MidRecord<B>
impl<B> Sync for MidRecord<B>
impl<B> Unpin for MidRecord<B>
impl<B> UnwindSafe for MidRecord<B>where
<B as Backend>::TensorPrimitive<1>: UnwindSafe,
<B as Backend>::TensorPrimitive<4>: UnwindSafe,
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