diff options
author | Johan Alfvén <johan.alfven@arm.com> | 2022-12-06 11:16:19 +0100 |
---|---|---|
committer | Johan Alfvén <johan.alfven@arm.com> | 2022-12-08 11:04:07 +0100 |
commit | 92689d5ad0dd19a3249e71dd0563731d4c6527c8 (patch) | |
tree | 77c176d06d3f11191b3fc75b3d57be89d292a754 /ethosu/vela/test/test_tflite_supported_operators.py | |
parent | db947e46755d8262710e734ccb2fb51ec725c844 (diff) | |
download | ethos-u-vela-92689d5ad0dd19a3249e71dd0563731d4c6527c8.tar.gz |
MLBEDSW-6716: Updates to estimate op SRAM usage
- The cascade builder estimates how much SRAM usage an operator
takes when calculating the cascades. If an elementwise operator
is included in a cascade the IFM2 will always be a constant/scalar
and the IFM2 will be in permanent memory and the size of the
IFM2 should not be included in the SRAM estimate.
- The scheduler did not take into account that IFM can be reused
for the OFM when calculating the op memory usage resulting in
a negative number for non-local memory usage. Corrected the
calculation and added assert to detect future problems.
Change-Id: Id7ec8fe1ec5560290f34579a7b9203a75067aba2
Signed-off-by: Johan Alfven <johan.alfven@arm.com>
Diffstat (limited to 'ethosu/vela/test/test_tflite_supported_operators.py')
0 files changed, 0 insertions, 0 deletions