pub struct DequantizedTensor {
pub shape: Vec<usize>,
pub data: Vec<f32>,
}Expand description
Dequantized float32 tensor decoded from an archive.
Fields§
§shape: Vec<usize>Tensor shape dimensions.
data: Vec<f32>Row-major dequantized f32 elements.
Trait Implementations§
Source§impl Clone for DequantizedTensor
impl Clone for DequantizedTensor
Source§impl Debug for DequantizedTensor
impl Debug for DequantizedTensor
Source§impl PartialEq for DequantizedTensor
impl PartialEq for DequantizedTensor
impl StructuralPartialEq for DequantizedTensor
Auto Trait Implementations§
impl Freeze for DequantizedTensor
impl RefUnwindSafe for DequantizedTensor
impl Send for DequantizedTensor
impl Sync for DequantizedTensor
impl Unpin for DequantizedTensor
impl UnsafeUnpin for DequantizedTensor
impl UnwindSafe for DequantizedTensor
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