diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2018-03-08 19:09:19 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:49:16 +0000 |
commit | 1562be3e8a449360a90af75f6f1481a30d41be75 (patch) | |
tree | 3180551f4c8595ae5c9630694754f3b1f8b493b1 /arm_compute/graph2/detail/ExecutionHelpers.h | |
parent | 684cb0f29d23fbe418e5e5347234abf9eccef363 (diff) | |
download | ComputeLibrary-1562be3e8a449360a90af75f6f1481a30d41be75.tar.gz |
COMPMID-998: Release unused trainable parameters.
Change-Id: I361a520f34080016a25bc86e1e6789777c5152c1
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/124432
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/graph2/detail/ExecutionHelpers.h')
-rw-r--r-- | arm_compute/graph2/detail/ExecutionHelpers.h | 5 |
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 |