pub struct TensorReadResult {
pub data: TensorData,
pub bytes_read: usize,
pub was_decompressed: bool,
pub checksum: Option<u32>,
}Expand description
Result of reading tensor data
Fields§
§data: TensorDataThe tensor data
bytes_read: usizeActual bytes read
was_decompressed: boolWhether the data was decompressed
checksum: Option<u32>Checksum of the data (if computed)
Trait Implementations§
Source§impl Clone for TensorReadResult
impl Clone for TensorReadResult
Source§impl Debug for TensorReadResult
impl Debug for TensorReadResult
Auto Trait Implementations§
impl Freeze for TensorReadResult
impl RefUnwindSafe for TensorReadResult
impl Send for TensorReadResult
impl Sync for TensorReadResult
impl Unpin for TensorReadResult
impl UnsafeUnpin for TensorReadResult
impl UnwindSafe for TensorReadResult
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