pub struct Device<T = f32> { /* private fields */ }
Expand description
A tensor that is owned by the device / gpu platform
Trait Implementations§
source§impl<H: HalideType> TensorType for Device<H>
impl<H: HalideType> TensorType for Device<H>
impl<H: HalideType> DeviceTensorType for Device<H>
impl<H: HalideType> OwnedTensorType for Device<H>
Auto Trait Implementations§
impl<T> Freeze for Device<T>
impl<T> RefUnwindSafe for Device<T>where
T: RefUnwindSafe,
impl<T> Send for Device<T>where
T: Send,
impl<T> Sync for Device<T>where
T: Sync,
impl<T> Unpin for Device<T>where
T: Unpin,
impl<T> UnwindSafe for Device<T>where
T: UnwindSafe,
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