aboutsummaryrefslogtreecommitdiff
path: root/src/armnnSerializer/Serializer.cpp
diff options
context:
space:
mode:
authorMatthew Bentham <Matthew.Bentham@arm.com>2020-01-17 11:47:42 +0000
committerMatthew Bentham <matthew.bentham@arm.com>2020-01-20 16:36:11 +0000
commitff130e2891b6691fdd2428c9b8c7f8b09120d39e (patch)
tree9332a7b39924844741aaab6e9488e56878dbe223 /src/armnnSerializer/Serializer.cpp
parent5537747c5a69e60fca5e3f189d211a34dc4c22c0 (diff)
downloadarmnn-ff130e2891b6691fdd2428c9b8c7f8b09120d39e.tar.gz
Remove use of ArmNN.hpp from other public headers
Also remove it from armnnSerializer and armnnUtils. In general code within Arm NN should only include exactly what it needs. This will help keep compile times down, and reduces the need for a complete rebuild when anything in the public headers changes. ArmNN.hpp should only be provided as a convenience for user code where the user doesn't know enough of the API to decide which specific headers they need. Signed-off-by: Matthew Bentham <Matthew.Bentham@arm.com> Change-Id: I4ffcaa7662af4f88a1babf2bf17d03da6f77d665
Diffstat (limited to 'src/armnnSerializer/Serializer.cpp')
-rw-r--r--src/armnnSerializer/Serializer.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/armnnSerializer/Serializer.cpp b/src/armnnSerializer/Serializer.cpp
index be6fa64b0a..91b62413d8 100644
--- a/src/armnnSerializer/Serializer.cpp
+++ b/src/armnnSerializer/Serializer.cpp
@@ -5,17 +5,18 @@
#include "Serializer.hpp"
-#include "SerializerUtils.hpp"
-
-#include <armnn/ArmNN.hpp>
+#include <armnn/Descriptors.hpp>
+#include <armnn/LstmParams.hpp>
+#include <armnn/QuantizedLstmParams.hpp>
#include <iostream>
#include <boost/core/ignore_unused.hpp>
#include <boost/numeric/conversion/cast.hpp>
-
#include <flatbuffers/util.h>
+#include "SerializerUtils.hpp"
+
using namespace armnn;
namespace fb = flatbuffers;
namespace serializer = armnnSerializer;