Skip to main content

analyse

Function analyse 

Source
pub fn analyse(graph: &ComputeGraph) -> GraphResult<MemoryPlan>
Expand description

Runs the memory planning pass on graph.

§Errors

Returns GraphError::EmptyGraph if the graph has no nodes. Returns GraphError::MemoryPlanningFailed if planning fails.