Struct rai_core::primitives::Sqrt
source · pub struct Sqrt;
Trait Implementations§
source§impl PartialEq for Sqrt
impl PartialEq for Sqrt
source§impl Primitive for Sqrt
impl Primitive for Sqrt
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 Eq for Sqrt
impl StructuralPartialEq for Sqrt
Auto Trait Implementations§
impl Freeze for Sqrt
impl RefUnwindSafe for Sqrt
impl Send for Sqrt
impl Sync for Sqrt
impl Unpin for Sqrt
impl UnwindSafe for Sqrt
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