Struct rai_core::primitives::Div
source · pub struct Div;
Trait Implementations§
source§impl Primitive for Div
impl Primitive for Div
fn clone_boxed(&self) -> Box<dyn Primitive>
fn as_any(&self) -> &dyn Any
fn jvp( &self, output: &Tensor, primals: &[Tensor], tangents: &[Tensor] ) -> Tensor
fn vjp( &self, output: &Tensor, primals: &[Tensor], cotangent: &Tensor ) -> Vec<Tensor>
fn dot_label(&self) -> String
impl Copy for Div
impl Eq for Div
impl StructuralPartialEq for Div
Auto Trait Implementations§
impl Freeze for Div
impl RefUnwindSafe for Div
impl Send for Div
impl Sync for Div
impl Unpin for Div
impl UnwindSafe for Div
Blanket Implementations§
source§impl<T, M> ApplyModule<M> for Twhere
M: Module<Input = T>,
impl<T, M> ApplyModule<M> for Twhere
M: Module<Input = T>,
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