Struct stablediffusion_wgpu::model::clip::MLPRecord
source · pub struct MLPRecord<B: Backend> {
pub fc1: <Linear<B> as Module<B>>::Record,
pub gelu: <QuickGELU as Module<B>>::Record,
pub fc2: <Linear<B> as Module<B>>::Record,
}Expand description
The record type for the module.
Fields§
§fc1: <Linear<B> as Module<B>>::RecordThe module record associative type.
gelu: <QuickGELU as Module<B>>::RecordThe module record associative type.
fc2: <Linear<B> as Module<B>>::RecordThe module record associative type.
Trait Implementations§
source§impl<B: Backend> Record for MLPRecord<B>
impl<B: Backend> Record for MLPRecord<B>
Auto Trait Implementations§
impl<B> RefUnwindSafe for MLPRecord<B>where
<B as Backend>::TensorPrimitive<1>: RefUnwindSafe,
<B as Backend>::TensorPrimitive<2>: RefUnwindSafe,
impl<B> Send for MLPRecord<B>
impl<B> Sync for MLPRecord<B>
impl<B> Unpin for MLPRecord<B>
impl<B> UnwindSafe for MLPRecord<B>where
<B as Backend>::TensorPrimitive<1>: UnwindSafe,
<B as Backend>::TensorPrimitive<2>: 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