Struct rai_core::primitives::Full
source · pub struct Full {
pub val: f64,
}
Fields§
§val: f64
Implementations§
Trait Implementations§
source§impl PartialEq for Full
impl PartialEq for Full
source§impl Primitive for Full
impl Primitive for Full
fn clone_boxed(&self) -> Box<dyn Primitive>
fn dot_label(&self) -> String
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>
impl Copy for Full
impl StructuralPartialEq for Full
Auto Trait Implementations§
impl RefUnwindSafe for Full
impl Send for Full
impl Sync for Full
impl Unpin for Full
impl UnwindSafe for Full
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