pub struct GraphGenConfig {
pub max_tensors: usize,
pub max_nodes: usize,
pub einsum_probability: f64,
}Expand description
Configuration for graph generation
Fields§
§max_tensors: usizeMaximum number of tensors
max_nodes: usizeMaximum number of nodes
einsum_probability: f64Probability of creating an einsum operation
Trait Implementations§
Source§impl Clone for GraphGenConfig
impl Clone for GraphGenConfig
Source§fn clone(&self) -> GraphGenConfig
fn clone(&self) -> GraphGenConfig
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 GraphGenConfig
impl Debug for GraphGenConfig
Auto Trait Implementations§
impl Freeze for GraphGenConfig
impl RefUnwindSafe for GraphGenConfig
impl Send for GraphGenConfig
impl Sync for GraphGenConfig
impl Unpin for GraphGenConfig
impl UnwindSafe for GraphGenConfig
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