pub struct ComputationGraph {
pub nodes: HashMap<String, ComputeNode>,
pub edges: Vec<(String, String)>,
pub node_count: usize,
}Expand description
Computation graph representation.
Fields§
§nodes: HashMap<String, ComputeNode>§edges: Vec<(String, String)>§node_count: usizeImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ComputationGraph
impl RefUnwindSafe for ComputationGraph
impl Send for ComputationGraph
impl Sync for ComputationGraph
impl Unpin for ComputationGraph
impl UnwindSafe for ComputationGraph
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