#[repr(C)]pub struct TfLiteSparsity {
pub traversal_order: *mut TfLiteIntArray,
pub block_map: *mut TfLiteIntArray,
pub dim_metadata: *mut TfLiteDimensionMetadata,
pub dim_metadata_size: c_int,
}Expand description
Parameters used to encode a sparse tensor. For detailed explanation of each field please refer to lite/schema/schema.fbs.
Fields§
§traversal_order: *mut TfLiteIntArray§block_map: *mut TfLiteIntArray§dim_metadata: *mut TfLiteDimensionMetadata§dim_metadata_size: c_intTrait Implementations§
Source§impl Clone for TfLiteSparsity
impl Clone for TfLiteSparsity
Source§fn clone(&self) -> TfLiteSparsity
fn clone(&self) -> TfLiteSparsity
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 TfLiteSparsity
impl Debug for TfLiteSparsity
impl Copy for TfLiteSparsity
Auto Trait Implementations§
impl Freeze for TfLiteSparsity
impl RefUnwindSafe for TfLiteSparsity
impl !Send for TfLiteSparsity
impl !Sync for TfLiteSparsity
impl Unpin for TfLiteSparsity
impl UnsafeUnpin for TfLiteSparsity
impl UnwindSafe for TfLiteSparsity
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