aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/armnn/Tensor.hpp2
-rw-r--r--src/backends/backendsCommon/test/DefaultAsyncExecuteTest.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/armnn/Tensor.hpp b/include/armnn/Tensor.hpp
index 0095a03e52..8dbc9127b2 100644
--- a/include/armnn/Tensor.hpp
+++ b/include/armnn/Tensor.hpp
@@ -297,7 +297,7 @@ public:
const TensorShape& GetShape() const { return m_Info.GetShape(); }
TensorShape& GetShape() { return m_Info.GetShape(); }
- DataType GetDataType() const { return m_Info.GetDataType(); }
+ DataType GetDataType() const { return m_Info.GetDataType(); }
unsigned int GetNumDimensions() const { return m_Info.GetNumDimensions(); }
unsigned int GetNumBytes() const { return m_Info.GetNumBytes(); }
unsigned int GetNumElements() const { return m_Info.GetNumElements(); }
diff --git a/src/backends/backendsCommon/test/DefaultAsyncExecuteTest.cpp b/src/backends/backendsCommon/test/DefaultAsyncExecuteTest.cpp
index 7070c1fad9..2e4fc1ea1f 100644
--- a/src/backends/backendsCommon/test/DefaultAsyncExecuteTest.cpp
+++ b/src/backends/backendsCommon/test/DefaultAsyncExecuteTest.cpp
@@ -210,7 +210,7 @@ TEST_CASE("TestDefaultAsyncExeuteWithThreads")
ConstTensor constInputTensor2(info, inVals2);
ConstTensor constOutputTensor2(info, outVals2);
- ConstTensor defaultTensor(info, &defaultVals);
+ ConstTensor defaultTensor(info, defaultVals.data());
ScopedTensorHandle defaultInput = ScopedTensorHandle(defaultTensor);
ScopedTensorHandle defaultOutput = ScopedTensorHandle(defaultTensor);