pub struct Int32Tensor {
pub shape: &'static [usize],
pub values: &'static [i32],
}Expand description
One immutable INT32 tensor produced by an integer-profile acceptance case.
Fields§
§shape: &'static [usize]Static row-major shape.
values: &'static [i32]Exact row-major tensor elements.
Trait Implementations§
Source§impl Clone for Int32Tensor
impl Clone for Int32Tensor
Source§fn clone(&self) -> Int32Tensor
fn clone(&self) -> Int32Tensor
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 moreimpl Copy for Int32Tensor
Source§impl Debug for Int32Tensor
impl Debug for Int32Tensor
impl Eq for Int32Tensor
Source§impl PartialEq for Int32Tensor
impl PartialEq for Int32Tensor
Source§fn eq(&self, other: &Int32Tensor) -> bool
fn eq(&self, other: &Int32Tensor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Int32Tensor
Auto Trait Implementations§
impl Freeze for Int32Tensor
impl RefUnwindSafe for Int32Tensor
impl Send for Int32Tensor
impl Sync for Int32Tensor
impl Unpin for Int32Tensor
impl UnsafeUnpin for Int32Tensor
impl UnwindSafe for Int32Tensor
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