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.