diff options
author | Matthew Sloyan <matthew.sloyan@arm.com> | 2022-12-07 19:28:18 +0000 |
---|---|---|
committer | Matthew Sloyan <matthew.sloyan@arm.com> | 2022-12-14 19:57:43 +0000 |
commit | 67fd526f8f7c79803d514a6045454049104eced9 (patch) | |
tree | c32c6a220b276d246d034ed940c94b37324e40f8 /src/backends/tosaCommon/test | |
parent | 404369b13f6e603bba3f01f945672bd89104bab7 (diff) | |
download | armnn-67fd526f8f7c79803d514a6045454049104eced9.tar.gz |
Update TOSA Reference Backend IsLayerSupported
* Replace current IsLayerSupported checks with ModelRunner for
better validation.
* Added options to be able to disable the output from the
TOSA Reference Model during layer support.
* Updated layer support tests to reflect actual support.
Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com>
Change-Id: Iaea17343d0ad51b495477024c44a34d9335d1438
Diffstat (limited to 'src/backends/tosaCommon/test')
-rw-r--r-- | src/backends/tosaCommon/test/OneToOneMappingTests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backends/tosaCommon/test/OneToOneMappingTests.cpp b/src/backends/tosaCommon/test/OneToOneMappingTests.cpp index 07ffae41d1..0d19a328d6 100644 --- a/src/backends/tosaCommon/test/OneToOneMappingTests.cpp +++ b/src/backends/tosaCommon/test/OneToOneMappingTests.cpp @@ -384,8 +384,8 @@ TEST_CASE("GetTosaMapping_SliceLayer") std::vector<std::vector<int32_t>> outputShape = {{ 2, 1, 3 }}; SliceDescriptor descriptor; - descriptor.m_Begin = { 3 }; - descriptor.m_Size = { 3 }; + descriptor.m_Begin = { 1, 0, 0 }; + descriptor.m_Size = { 2, 1, 3 }; TosaSerializationBasicBlock* basicBlock = GetTosaMapping(nullptr, LayerType::Slice, {&inputInfo}, {&outputInfo}, descriptor); |