aboutsummaryrefslogtreecommitdiff
path: root/src/backends/tosaCommon/test/OneToOneMappingTests.cpp
diff options
context:
space:
mode:
authorMatthew Sloyan <matthew.sloyan@arm.com>2022-12-07 19:28:18 +0000
committerMatthew Sloyan <matthew.sloyan@arm.com>2022-12-14 19:57:43 +0000
commit67fd526f8f7c79803d514a6045454049104eced9 (patch)
treec32c6a220b276d246d034ed940c94b37324e40f8 /src/backends/tosaCommon/test/OneToOneMappingTests.cpp
parent404369b13f6e603bba3f01f945672bd89104bab7 (diff)
downloadarmnn-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/OneToOneMappingTests.cpp')
-rw-r--r--src/backends/tosaCommon/test/OneToOneMappingTests.cpp4
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);