Skip to main content

SharedGraph

Type Alias SharedGraph 

Source
pub type SharedGraph = Arc<RwLock<Graph>>;
Expand description

A shared, mutable graph. Builders clone this cheaply and hand it to every derived tensor so that all tensors in one computation point to the same arena.

Aliased Typeยง

pub struct SharedGraph { /* private fields */ }