pub struct HostNumericTensorOwned {
pub data: HostNumericDataOwned,
pub shape: Vec<usize>,
pub storage: GpuTensorStorage,
}Expand description
Owned tensor transfer with one native numeric payload and explicit real/complex layout.
Fields§
§data: HostNumericDataOwned§shape: Vec<usize>§storage: GpuTensorStorageImplementations§
Trait Implementations§
Source§impl Clone for HostNumericTensorOwned
impl Clone for HostNumericTensorOwned
Source§fn clone(&self) -> HostNumericTensorOwned
fn clone(&self) -> HostNumericTensorOwned
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HostNumericTensorOwned
impl Debug for HostNumericTensorOwned
Source§impl From<HostIntegerTensorOwned> for HostNumericTensorOwned
impl From<HostIntegerTensorOwned> for HostNumericTensorOwned
Source§fn from(value: HostIntegerTensorOwned) -> Self
fn from(value: HostIntegerTensorOwned) -> Self
Converts to this type from the input type.
Source§impl PartialEq for HostNumericTensorOwned
impl PartialEq for HostNumericTensorOwned
impl StructuralPartialEq for HostNumericTensorOwned
Auto Trait Implementations§
impl Freeze for HostNumericTensorOwned
impl RefUnwindSafe for HostNumericTensorOwned
impl Send for HostNumericTensorOwned
impl Sync for HostNumericTensorOwned
impl Unpin for HostNumericTensorOwned
impl UnsafeUnpin for HostNumericTensorOwned
impl UnwindSafe for HostNumericTensorOwned
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