aboutsummaryrefslogtreecommitdiff
path: root/delegate
diff options
context:
space:
mode:
Diffstat (limited to 'delegate')
-rw-r--r--delegate/src/Split.hpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/delegate/src/Split.hpp b/delegate/src/Split.hpp
index 74da979666..c76ad60ace 100644
--- a/delegate/src/Split.hpp
+++ b/delegate/src/Split.hpp
@@ -9,7 +9,6 @@
#include <algorithm>
#include <iterator>
-#include <string>
#include <vector>
namespace armnnDelegate
@@ -231,12 +230,8 @@ TfLiteStatus VisitSplitVOperator(DelegateData& delegateData,
}
std::vector<int32_t> splitsTensorData(numSplits);
-#ifdef __STDC_LIB_EXT1__
- ::memcpy_s(splitsTensorData.data(), sizeof(splitsTensorData),
- tfLiteSplitsTensor.data.data, splitsTensorInfo.GetNumBytes());
-#else
- ::memcpy(splitsTensorData.data(), tfLiteSplitsTensor.data.data, splitsTensorInfo.GetNumBytes());
-#endif
+ std::memcpy(splitsTensorData.data(), tfLiteSplitsTensor.data.data, splitsTensorInfo.GetNumBytes());
+
unsigned int index = 0;
unsigned int inferredIndex = 0;