pub struct TNVMResult<'a, C: ComplexScalar> { /* private fields */ }Implementations§
Source§impl<'a, C: ComplexScalar> TNVMResult<'a, C>
impl<'a, C: ComplexScalar> TNVMResult<'a, C>
pub fn new( memory: &'a MemoryBuffer<C>, buffer: &'a SizedTensorBuffer<C>, ) -> Self
pub fn get_fn_result2(&self) -> TNVMReturnType2<'a, C>
pub fn get_grad_result2(&self) -> TNVMReturnType2<'a, C>
pub fn get_fn_result(&self) -> TNVMReturnType<'a, C>
pub fn get_grad_result(&self) -> TNVMReturnType<'a, C>
pub fn get_hess_result(&self) -> TNVMReturnType<'a, C>
Auto Trait Implementations§
impl<'a, C> Freeze for TNVMResult<'a, C>
impl<'a, C> RefUnwindSafe for TNVMResult<'a, C>where
C: RefUnwindSafe,
impl<'a, C> Send for TNVMResult<'a, C>
impl<'a, C> Sync for TNVMResult<'a, C>
impl<'a, C> Unpin for TNVMResult<'a, C>
impl<'a, C> UnwindSafe for TNVMResult<'a, C>where
C: RefUnwindSafe,
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
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more