#[non_exhaustive]#[repr(u32)]pub enum OrtSparseIndicesFormat {
ORT_SPARSE_COO_INDICES = 0,
ORT_SPARSE_CSR_INNER_INDICES = 1,
ORT_SPARSE_CSR_OUTER_INDICES = 2,
ORT_SPARSE_BLOCK_SPARSE_INDICES = 3,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ORT_SPARSE_COO_INDICES = 0
ORT_SPARSE_CSR_INNER_INDICES = 1
ORT_SPARSE_CSR_OUTER_INDICES = 2
ORT_SPARSE_BLOCK_SPARSE_INDICES = 3
Trait Implementations§
Source§impl Clone for OrtSparseIndicesFormat
impl Clone for OrtSparseIndicesFormat
Source§fn clone(&self) -> OrtSparseIndicesFormat
fn clone(&self) -> OrtSparseIndicesFormat
Returns a copy 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 OrtSparseIndicesFormat
impl Debug for OrtSparseIndicesFormat
Source§impl Hash for OrtSparseIndicesFormat
impl Hash for OrtSparseIndicesFormat
Source§impl PartialEq for OrtSparseIndicesFormat
impl PartialEq for OrtSparseIndicesFormat
impl Copy for OrtSparseIndicesFormat
impl Eq for OrtSparseIndicesFormat
impl StructuralPartialEq for OrtSparseIndicesFormat
Auto Trait Implementations§
impl Freeze for OrtSparseIndicesFormat
impl RefUnwindSafe for OrtSparseIndicesFormat
impl Send for OrtSparseIndicesFormat
impl Sync for OrtSparseIndicesFormat
impl Unpin for OrtSparseIndicesFormat
impl UnwindSafe for OrtSparseIndicesFormat
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