pub struct Float32Tensor {
pub shape: &'static [usize],
pub values: &'static [f32],
}Expand description
One immutable FP32 tensor in a numerical acceptance case.
Fields§
§shape: &'static [usize]Static row-major shape.
values: &'static [f32]Row-major tensor elements.
Trait Implementations§
Source§impl Clone for Float32Tensor
impl Clone for Float32Tensor
Source§fn clone(&self) -> Float32Tensor
fn clone(&self) -> Float32Tensor
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 Float32Tensor
Source§impl Debug for Float32Tensor
impl Debug for Float32Tensor
Source§impl PartialEq for Float32Tensor
impl PartialEq for Float32Tensor
Source§fn eq(&self, other: &Float32Tensor) -> bool
fn eq(&self, other: &Float32Tensor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Float32Tensor
Auto Trait Implementations§
impl Freeze for Float32Tensor
impl RefUnwindSafe for Float32Tensor
impl Send for Float32Tensor
impl Sync for Float32Tensor
impl Unpin for Float32Tensor
impl UnsafeUnpin for Float32Tensor
impl UnwindSafe for Float32Tensor
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