Struct stablediffusion_wgpu::model::unet::SpatialTransformerRecord
source · pub struct SpatialTransformerRecord<B: Backend> {
pub norm: <GroupNorm<B> as Module<B>>::Record,
pub proj_in: <Conv2d<B> as Module<B>>::Record,
pub transformer: <TransformerBlock<B> as Module<B>>::Record,
pub proj_out: <Conv2d<B> as Module<B>>::Record,
}Expand description
The record type for the module.
Fields§
§norm: <GroupNorm<B> as Module<B>>::RecordThe module record associative type.
proj_in: <Conv2d<B> as Module<B>>::RecordThe module record associative type.
transformer: <TransformerBlock<B> as Module<B>>::RecordThe module record associative type.
proj_out: <Conv2d<B> as Module<B>>::RecordThe module record associative type.
Trait Implementations§
source§impl<B: Clone + Backend> Clone for SpatialTransformerRecord<B>
impl<B: Clone + Backend> Clone for SpatialTransformerRecord<B>
source§fn clone(&self) -> SpatialTransformerRecord<B>
fn clone(&self) -> SpatialTransformerRecord<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 SpatialTransformerRecord<B>
impl<B: Debug + Backend> Debug for SpatialTransformerRecord<B>
source§impl<B: Backend> Record for SpatialTransformerRecord<B>
impl<B: Backend> Record for SpatialTransformerRecord<B>
Auto Trait Implementations§
impl<B> RefUnwindSafe for SpatialTransformerRecord<B>where
<B as Backend>::TensorPrimitive<1>: RefUnwindSafe,
<B as Backend>::TensorPrimitive<2>: RefUnwindSafe,
<B as Backend>::TensorPrimitive<4>: RefUnwindSafe,
impl<B> Send for SpatialTransformerRecord<B>
impl<B> Sync for SpatialTransformerRecord<B>
impl<B> Unpin for SpatialTransformerRecord<B>
impl<B> UnwindSafe for SpatialTransformerRecord<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