pub struct HostIntegerTensorOwned {
pub data: HostIntegerDataOwned,
pub shape: Vec<usize>,
}Expand description
Exact integer tensor returned by a provider download.
Fields§
§data: HostIntegerDataOwned§shape: Vec<usize>Trait Implementations§
Source§impl Clone for HostIntegerTensorOwned
impl Clone for HostIntegerTensorOwned
Source§fn clone(&self) -> HostIntegerTensorOwned
fn clone(&self) -> HostIntegerTensorOwned
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 HostIntegerTensorOwned
impl Debug for HostIntegerTensorOwned
impl Eq for HostIntegerTensorOwned
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 HostIntegerTensorOwned
impl PartialEq for HostIntegerTensorOwned
impl StructuralPartialEq for HostIntegerTensorOwned
Auto Trait Implementations§
impl Freeze for HostIntegerTensorOwned
impl RefUnwindSafe for HostIntegerTensorOwned
impl Send for HostIntegerTensorOwned
impl Sync for HostIntegerTensorOwned
impl Unpin for HostIntegerTensorOwned
impl UnsafeUnpin for HostIntegerTensorOwned
impl UnwindSafe for HostIntegerTensorOwned
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