pub struct TensorEntry {
pub data_type: DataType,
pub shape: Vec<u32>,
pub byte_offset: u64,
pub byte_length: u64,
pub layout: Option<String>,
}Fields§
§data_type: DataType§shape: Vec<u32>§byte_offset: u64§byte_length: u64§layout: Option<String>Trait Implementations§
Source§impl Clone for TensorEntry
impl Clone for TensorEntry
Source§fn clone(&self) -> TensorEntry
fn clone(&self) -> TensorEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TensorEntry
impl Debug for TensorEntry
Source§impl<'de> Deserialize<'de> for TensorEntry
impl<'de> Deserialize<'de> for TensorEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TensorEntry
impl RefUnwindSafe for TensorEntry
impl Send for TensorEntry
impl Sync for TensorEntry
impl Unpin for TensorEntry
impl UnsafeUnpin for TensorEntry
impl UnwindSafe for TensorEntry
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