Struct rai_core::primitives::Full
source · pub struct Full<D>where
D: Type,{
pub val: D::Repr,
}
Fields§
§val: D::Repr
Implementations§
Trait Implementations§
source§impl<D, T> Eval<D, Full<T>> for CandleBackend
impl<D, T> Eval<D, Full<T>> for CandleBackend
source§impl<D> PartialEq for Full<D>
impl<D> PartialEq for Full<D>
source§impl<D> Primitive for Full<D>where
D: Type,
impl<D> Primitive for Full<D>where
D: Type,
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<D> Copy for Full<D>
impl<D> StructuralPartialEq for Full<D>where
D: Type,
Auto Trait Implementations§
impl<D> Freeze for Full<D>
impl<D> RefUnwindSafe for Full<D>
impl<D> Send for Full<D>
impl<D> Sync for Full<D>
impl<D> Unpin for Full<D>
impl<D> UnwindSafe for Full<D>
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