diff options
author | Nathan Bailey <nathan.bailey@arm.com> | 2024-02-19 14:54:51 +0000 |
---|---|---|
committer | Nathan Bailey <nathan.bailey@arm.com> | 2024-04-16 12:31:09 +0100 |
commit | 2973b6d52914023f9b8797aec8309957457d4189 (patch) | |
tree | 5828a9d988ec2e8a95633a28e0c744ba61d9b154 /tests/test_cli_commands.py | |
parent | ec59b3c95106daebe2ce0e57592b2bf9e6562f54 (diff) | |
download | mlia-2973b6d52914023f9b8797aec8309957457d4189.tar.gz |
feat: CLI and API changes for the clustering rewrite
Adds API changes for a fully-connected-clustering rewrite
Resolves: MLIA-1077
Signed-off-by: Nathan Bailey <nathan.bailey@arm.com>
Change-Id: I845796a391c5020e66472456b97ecad5ee8139a8
Diffstat (limited to 'tests/test_cli_commands.py')
-rw-r--r-- | tests/test_cli_commands.py | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/tests/test_cli_commands.py b/tests/test_cli_commands.py index e4b2609..93a05bd 100644 --- a/tests/test_cli_commands.py +++ b/tests/test_cli_commands.py @@ -140,7 +140,7 @@ def test_performance_unknown_target( match=re.escape( "Invalid rewrite target: 'random'. " "Supported rewrites: ['fully-connected'," - " 'fully-connected-sparsity24']" + " 'fully-connected-clustering', 'fully-connected-sparsity24']" ), ), ], @@ -182,6 +182,19 @@ def test_performance_unknown_target( ), ), ], + [ + "ethos-u55-256", + False, + False, + None, + None, + None, + True, + "fully-connected-clustering", + "sequential/flatten/Reshape", + "StatefulPartitionedCall:0", + does_not_raise(), + ], ], ) def test_opt_valid_optimization_target( # pylint: disable=too-many-locals,too-many-arguments |