aboutsummaryrefslogtreecommitdiff
path: root/tests/test_cli_commands.py
diff options
context:
space:
mode:
authorMadeleine Dunn <madeleine.dunn@arm.com>2023-10-09 17:02:54 +0100
committerMadeleine Dunn <madeleine.dunn@arm.com>2024-04-03 16:13:48 +0100
commit2a2a910d6d7cc3e7555b0a3c1ba458a4065c41ae (patch)
tree8f72d02ef820fb4b5b61b9a938c814b9bea8b869 /tests/test_cli_commands.py
parenta67bcd6eccaa4de00a08a3def8323debecff84d7 (diff)
downloadmlia-2a2a910d6d7cc3e7555b0a3c1ba458a4065c41ae.tar.gz
feat: Add placeholder rewrite_target for sparsity24
- The placeholder currently duplicates the existing fc target Resolves: MLIA-1000 Signed-off-by: Madeleine Dunn <madeleine.dunn@arm.com> Change-Id: I0df5d47e61dafa567e212566bbcb0f1639fe7642
Diffstat (limited to 'tests/test_cli_commands.py')
-rw-r--r--tests/test_cli_commands.py15
1 files changed, 14 insertions, 1 deletions
diff --git a/tests/test_cli_commands.py b/tests/test_cli_commands.py
index 5b2b947..e4b2609 100644
--- a/tests/test_cli_commands.py
+++ b/tests/test_cli_commands.py
@@ -84,6 +84,19 @@ def test_performance_unknown_target(
],
[
"ethos-u55-256",
+ False,
+ False,
+ None,
+ None,
+ None,
+ True,
+ "fully-connected-sparsity24",
+ "sequential/flatten/Reshape",
+ "StatefulPartitionedCall:0",
+ does_not_raise(),
+ ],
+ [
+ "ethos-u55-256",
True,
False,
None,
@@ -127,7 +140,7 @@ def test_performance_unknown_target(
match=re.escape(
"Invalid rewrite target: 'random'. "
"Supported rewrites: ['fully-connected',"
- " 'fully_connected_sparsity24']"
+ " 'fully-connected-sparsity24']"
),
),
],