pub struct ManagedTensor(/* private fields */);Expand description
ManagedTensor is a wrapper around a dlpack DLManagedTensor object. This lets you pass matrices in device or host memory into cuvs.
Implementations§
Trait Implementations§
Source§impl Debug for ManagedTensor
impl Debug for ManagedTensor
Source§impl Drop for ManagedTensor
impl Drop for ManagedTensor
Auto Trait Implementations§
impl Freeze for ManagedTensor
impl RefUnwindSafe for ManagedTensor
impl !Send for ManagedTensor
impl !Sync for ManagedTensor
impl Unpin for ManagedTensor
impl UnwindSafe for ManagedTensor
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