aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/graph2/detail/ExecutionHelpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/graph2/detail/ExecutionHelpers.h')
-rw-r--r--arm_compute/graph2/detail/ExecutionHelpers.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arm_compute/graph2/detail/ExecutionHelpers.h b/arm_compute/graph2/detail/ExecutionHelpers.h
index e4523ecf47..bc3cfd5d72 100644
--- a/arm_compute/graph2/detail/ExecutionHelpers.h
+++ b/arm_compute/graph2/detail/ExecutionHelpers.h
@@ -63,6 +63,11 @@ void validate_all_nodes(Graph &g);
* @return The execution workload
*/
ExecutionWorkload configure_all_nodes(Graph &g, GraphContext &ctx);
+/** Release the memory of all unused const nodes
+ *
+ * @param[in] g Graph to release the memory from
+ */
+void release_unused_tensors(Graph &g);
/** Calls accessor of a given tensor
*
* @param[in] tensor The tensor of which the accessor should be called