pub struct NativeSwiGluBackward<B>where
B: Backend,{
pub gate: Option<<B as BackendTypes>::FloatTensorPrimitive>,
pub up: Option<<B as BackendTypes>::FloatTensorPrimitive>,
}Expand description
Original actual optional activation input VJPs.
Fields§
§gate: Option<<B as BackendTypes>::FloatTensorPrimitive>§up: Option<<B as BackendTypes>::FloatTensorPrimitive>Trait Implementations§
Auto Trait Implementations§
impl<B> Freeze for NativeSwiGluBackward<B>
impl<B> RefUnwindSafe for NativeSwiGluBackward<B>
impl<B> Send for NativeSwiGluBackward<B>
impl<B> Sync for NativeSwiGluBackward<B>
impl<B> Unpin for NativeSwiGluBackward<B>
impl<B> UnsafeUnpin for NativeSwiGluBackward<B>
impl<B> UnwindSafe for NativeSwiGluBackward<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