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
impl Copy for Float32Tensor
Source§impl Debug for Float32Tensor
impl Debug for Float32Tensor
Source§impl PartialEq for Float32Tensor
impl PartialEq for Float32Tensor
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