Struct stablediffusion_wgpu::model::unet::UNetOutputBlocksRecord
source · pub struct UNetOutputBlocksRecord<B: Backend> {
pub r1: <ResBlock<B> as Module<B>>::Record,
pub r2: <ResBlock<B> as Module<B>>::Record,
pub ru: <ResUpSample<B> as Module<B>>::Record,
pub rt1: <ResTransformer<B> as Module<B>>::Record,
pub rt2: <ResTransformer<B> as Module<B>>::Record,
pub rtu1: <ResTransformerUpsample<B> as Module<B>>::Record,
pub rt3: <ResTransformer<B> as Module<B>>::Record,
pub rt4: <ResTransformer<B> as Module<B>>::Record,
pub rtu2: <ResTransformerUpsample<B> as Module<B>>::Record,
pub rt5: <ResTransformer<B> as Module<B>>::Record,
pub rt6: <ResTransformer<B> as Module<B>>::Record,
pub rt7: <ResTransformer<B> as Module<B>>::Record,
}Expand description
The record type for the module.
Fields§
§r1: <ResBlock<B> as Module<B>>::RecordThe module record associative type.
r2: <ResBlock<B> as Module<B>>::RecordThe module record associative type.
ru: <ResUpSample<B> as Module<B>>::RecordThe module record associative type.
rt1: <ResTransformer<B> as Module<B>>::RecordThe module record associative type.
rt2: <ResTransformer<B> as Module<B>>::RecordThe module record associative type.
rtu1: <ResTransformerUpsample<B> as Module<B>>::RecordThe module record associative type.
rt3: <ResTransformer<B> as Module<B>>::RecordThe module record associative type.
rt4: <ResTransformer<B> as Module<B>>::RecordThe module record associative type.
rtu2: <ResTransformerUpsample<B> as Module<B>>::RecordThe module record associative type.
rt5: <ResTransformer<B> as Module<B>>::RecordThe module record associative type.
rt6: <ResTransformer<B> as Module<B>>::RecordThe module record associative type.
rt7: <ResTransformer<B> as Module<B>>::RecordThe module record associative type.
Trait Implementations§
source§impl<B: Clone + Backend> Clone for UNetOutputBlocksRecord<B>
impl<B: Clone + Backend> Clone for UNetOutputBlocksRecord<B>
source§fn clone(&self) -> UNetOutputBlocksRecord<B>
fn clone(&self) -> UNetOutputBlocksRecord<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 UNetOutputBlocksRecord<B>
impl<B: Debug + Backend> Debug for UNetOutputBlocksRecord<B>
source§impl<B: Backend> Record for UNetOutputBlocksRecord<B>
impl<B: Backend> Record for UNetOutputBlocksRecord<B>
Auto Trait Implementations§
impl<B> RefUnwindSafe for UNetOutputBlocksRecord<B>where
<B as Backend>::TensorPrimitive<1>: RefUnwindSafe,
<B as Backend>::TensorPrimitive<2>: RefUnwindSafe,
<B as Backend>::TensorPrimitive<4>: RefUnwindSafe,
impl<B> Send for UNetOutputBlocksRecord<B>
impl<B> Sync for UNetOutputBlocksRecord<B>
impl<B> Unpin for UNetOutputBlocksRecord<B>
impl<B> UnwindSafe for UNetOutputBlocksRecord<B>where
<B as Backend>::TensorPrimitive<1>: UnwindSafe,
<B as Backend>::TensorPrimitive<2>: 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