aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/tflite/SplitOptions.py
diff options
context:
space:
mode:
authorBjörn Davidsson <bjoern.davidsson@arm.com>2024-06-03 09:50:57 +0200
committerFredrik Svedberg <fredrik.svedberg@arm.com>2024-07-08 14:24:24 +0000
commit9411df43e87c0d4aa38fc3b4d08406b212dad099 (patch)
tree25c232b016e0ee82bb4b239a18af6a2324ac22ce /ethosu/vela/tflite/SplitOptions.py
parent9552a0d8bad927dd1e2c5a5d5c631c261169e1ec (diff)
downloadethos-u-vela-9411df43e87c0d4aa38fc3b4d08406b212dad099.tar.gz
MLBEDSW-8986 Avoid unnecessary weight encoding
Identify if sparsity and/or fast encoder can be discarded before actual encode. Collect statistics on weights during default encode, so size of FWD stream can be calculated, and only do the FWD encode if the FWD has been selected. Don't do the encodes in measure-only mode, it has bugs, and the work needs to be redone for the actual encode anyway. Change-Id: I1dabbc87b1e268dcecb4fbffe9f67a18563eec08 Signed-off-by: Björn Davidsson <bjoern.davidsson@arm.com>
Diffstat (limited to 'ethosu/vela/tflite/SplitOptions.py')
0 files changed, 0 insertions, 0 deletions