pub struct ExpertProjectionBackward<B>where
B: Backend,{
pub input: Option<<B as BackendTypes>::FloatTensorPrimitive>,
pub weights: Option<<B as BackendTypes>::FloatTensorPrimitive>,
}Expand description
Actual original optional VJP outputs. Native weight derivatives retain FP32.
Fields§
§input: Option<<B as BackendTypes>::FloatTensorPrimitive>§weights: Option<<B as BackendTypes>::FloatTensorPrimitive>Trait Implementations§
Auto Trait Implementations§
impl<B> Freeze for ExpertProjectionBackward<B>
impl<B> RefUnwindSafe for ExpertProjectionBackward<B>
impl<B> Send for ExpertProjectionBackward<B>
impl<B> Sync for ExpertProjectionBackward<B>
impl<B> Unpin for ExpertProjectionBackward<B>
impl<B> UnsafeUnpin for ExpertProjectionBackward<B>
impl<B> UnwindSafe for ExpertProjectionBackward<B>
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