pub struct DevTensor<'c, 'g> { /* private fields */ }Expand description
显存里的一个批量张量。
Trait Implementations§
Auto Trait Implementations§
impl<'c, 'g> !RefUnwindSafe for DevTensor<'c, 'g>
impl<'c, 'g> !Send for DevTensor<'c, 'g>
impl<'c, 'g> !Sync for DevTensor<'c, 'g>
impl<'c, 'g> !UnwindSafe for DevTensor<'c, 'g>
impl<'c, 'g> Forget for DevTensor<'c, 'g>
impl<'c, 'g> Freeze for DevTensor<'c, 'g>
impl<'c, 'g> Unpin for DevTensor<'c, 'g>
impl<'c, 'g> UnsafeUnpin for DevTensor<'c, 'g>
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