#[repr(C)]pub struct TfLiteDimensionMetadata {
pub format: TfLiteDimensionType,
pub dense_size: c_int,
pub array_segments: *mut TfLiteIntArray,
pub array_indices: *mut TfLiteIntArray,
}Expand description
Metadata to encode each dimension in a sparse tensor.
Fields§
§format: TfLiteDimensionType§dense_size: c_int§array_segments: *mut TfLiteIntArray§array_indices: *mut TfLiteIntArrayTrait Implementations§
Source§impl Clone for TfLiteDimensionMetadata
impl Clone for TfLiteDimensionMetadata
Source§fn clone(&self) -> TfLiteDimensionMetadata
fn clone(&self) -> TfLiteDimensionMetadata
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 TfLiteDimensionMetadata
impl Debug for TfLiteDimensionMetadata
impl Copy for TfLiteDimensionMetadata
Auto Trait Implementations§
impl Freeze for TfLiteDimensionMetadata
impl RefUnwindSafe for TfLiteDimensionMetadata
impl !Send for TfLiteDimensionMetadata
impl !Sync for TfLiteDimensionMetadata
impl Unpin for TfLiteDimensionMetadata
impl UnsafeUnpin for TfLiteDimensionMetadata
impl UnwindSafe for TfLiteDimensionMetadata
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