Struct stablediffusion_wgpu::model::autoencoder::DecoderRecord
source · pub struct DecoderRecord<B: Backend> {
pub conv_in: <Conv2d<B> as Module<B>>::Record,
pub mid: <Mid<B> as Module<B>>::Record,
pub blocks: <Vec<DecoderBlock<B>> as Module<B>>::Record,
pub norm_out: <GroupNorm<B> as Module<B>>::Record,
pub silu: <SILU as Module<B>>::Record,
pub conv_out: <Conv2d<B> as Module<B>>::Record,
}Expand description
The record type for the module.
Fields§
§conv_in: <Conv2d<B> as Module<B>>::RecordThe module record associative type.
mid: <Mid<B> as Module<B>>::RecordThe module record associative type.
blocks: <Vec<DecoderBlock<B>> as Module<B>>::RecordThe module record associative type.
norm_out: <GroupNorm<B> as Module<B>>::RecordThe module record associative type.
silu: <SILU as Module<B>>::RecordThe module record associative type.
conv_out: <Conv2d<B> as Module<B>>::RecordThe module record associative type.
Trait Implementations§
source§impl<B: Clone + Backend> Clone for DecoderRecord<B>
impl<B: Clone + Backend> Clone for DecoderRecord<B>
source§fn clone(&self) -> DecoderRecord<B>
fn clone(&self) -> DecoderRecord<B>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<B: Debug + Backend> Debug for DecoderRecord<B>
impl<B: Debug + Backend> Debug for DecoderRecord<B>
source§impl<B: Backend> Record for DecoderRecord<B>
impl<B: Backend> Record for DecoderRecord<B>
Auto Trait Implementations§
impl<B> RefUnwindSafe for DecoderRecord<B>where
<B as Backend>::TensorPrimitive<1>: RefUnwindSafe,
<B as Backend>::TensorPrimitive<4>: RefUnwindSafe,
impl<B> Send for DecoderRecord<B>
impl<B> Sync for DecoderRecord<B>
impl<B> Unpin for DecoderRecord<B>
impl<B> UnwindSafe for DecoderRecord<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