#[non_exhaustive]#[repr(u32)]pub enum ggml_tensor_flag {
GGML_TENSOR_FLAG_INPUT = 1,
GGML_TENSOR_FLAG_OUTPUT = 2,
GGML_TENSOR_FLAG_PARAM = 4,
GGML_TENSOR_FLAG_LOSS = 8,
}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.
GGML_TENSOR_FLAG_INPUT = 1
GGML_TENSOR_FLAG_OUTPUT = 2
GGML_TENSOR_FLAG_PARAM = 4
GGML_TENSOR_FLAG_LOSS = 8
Trait Implementations§
Source§impl Clone for ggml_tensor_flag
impl Clone for ggml_tensor_flag
Source§fn clone(&self) -> ggml_tensor_flag
fn clone(&self) -> ggml_tensor_flag
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 ggml_tensor_flag
impl Debug for ggml_tensor_flag
Source§impl Hash for ggml_tensor_flag
impl Hash for ggml_tensor_flag
Source§impl PartialEq for ggml_tensor_flag
impl PartialEq for ggml_tensor_flag
impl Copy for ggml_tensor_flag
impl Eq for ggml_tensor_flag
impl StructuralPartialEq for ggml_tensor_flag
Auto Trait Implementations§
impl Freeze for ggml_tensor_flag
impl RefUnwindSafe for ggml_tensor_flag
impl Send for ggml_tensor_flag
impl Sync for ggml_tensor_flag
impl Unpin for ggml_tensor_flag
impl UnwindSafe for ggml_tensor_flag
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