Struct llama_cpp_sys_2::ggml_cgraph
source · #[repr(C)]pub struct ggml_cgraph {
pub size: c_int,
pub n_nodes: c_int,
pub n_leafs: c_int,
pub nodes: *mut *mut ggml_tensor,
pub grads: *mut *mut ggml_tensor,
pub leafs: *mut *mut ggml_tensor,
pub visited_hash_table: ggml_hash_set,
pub order: ggml_cgraph_eval_order,
pub perf_runs: c_int,
pub perf_cycles: i64,
pub perf_time_us: i64,
}Fields§
§size: c_int§n_nodes: c_int§n_leafs: c_int§nodes: *mut *mut ggml_tensor§grads: *mut *mut ggml_tensor§leafs: *mut *mut ggml_tensor§visited_hash_table: ggml_hash_set§order: ggml_cgraph_eval_order§perf_runs: c_int§perf_cycles: i64§perf_time_us: i64Trait Implementations§
source§impl Clone for ggml_cgraph
impl Clone for ggml_cgraph
source§fn clone(&self) -> ggml_cgraph
fn clone(&self) -> ggml_cgraph
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 ggml_cgraph
impl Debug for ggml_cgraph
source§impl PartialEq for ggml_cgraph
impl PartialEq for ggml_cgraph
source§fn eq(&self, other: &ggml_cgraph) -> bool
fn eq(&self, other: &ggml_cgraph) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ggml_cgraph
impl Eq for ggml_cgraph
impl StructuralEq for ggml_cgraph
impl StructuralPartialEq for ggml_cgraph
Auto Trait Implementations§
impl RefUnwindSafe for ggml_cgraph
impl !Send for ggml_cgraph
impl !Sync for ggml_cgraph
impl Unpin for ggml_cgraph
impl UnwindSafe for ggml_cgraph
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