aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNikhil Raj <nikhil.raj@arm.com>2021-04-02 22:04:39 +0100
committerNikhil Raj <nikhil.raj@arm.com>2021-04-16 14:27:27 +0100
commit6dd178f2395b34cfb360eabb0130c19ed258f5fa (patch)
tree6814e4729bbd1e652d8b9c18c9db28f3bc2f8a8a /include
parented7fce413410d15c501ea52f9e6bfbbf71b3daf1 (diff)
downloadarmnn-6dd178f2395b34cfb360eabb0130c19ed258f5fa.tar.gz
IVGCVSW-5720 Remove the Caffe Parser from ArmNN
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: Ib00be204f549efa9aa5971ecf65c2dec4a10b10f
Diffstat (limited to 'include')
-rw-r--r--include/armnnCaffeParser/ICaffeParser.hpp66
-rw-r--r--include/armnnCaffeParser/Version.hpp29
2 files changed, 0 insertions, 95 deletions
diff --git a/include/armnnCaffeParser/ICaffeParser.hpp b/include/armnnCaffeParser/ICaffeParser.hpp
deleted file mode 100644
index 0e31ad4461..0000000000
--- a/include/armnnCaffeParser/ICaffeParser.hpp
+++ /dev/null
@@ -1,66 +0,0 @@
-//
-// Copyright © 2017 Arm Ltd. All rights reserved.
-// SPDX-License-Identifier: MIT
-//
-#pragma once
-
-#include "armnn/Types.hpp"
-#include "armnn/NetworkFwd.hpp"
-#include "armnn/Tensor.hpp"
-#include "armnn/INetwork.hpp"
-
-#include <memory>
-#include <map>
-#include <vector>
-
-namespace armnnCaffeParser
-{
-
-using BindingPointInfo = armnn::BindingPointInfo;
-
-class ICaffeParser;
-using ICaffeParserPtr = std::unique_ptr<ICaffeParser, void(*)(ICaffeParser* parser)>;
-
-class ICaffeParser
-{
-public:
- static ICaffeParser* CreateRaw();
- static ICaffeParserPtr Create();
- static void Destroy(ICaffeParser* parser);
-
- /// Create the network from a protobuf text file on the disk.
- armnn::INetworkPtr CreateNetworkFromTextFile(
- const char* graphFile,
- const std::map<std::string, armnn::TensorShape>& inputShapes,
- const std::vector<std::string>& requestedOutputs);
-
- /// Create the network from a protobuf binary file on the disk.
- armnn::INetworkPtr CreateNetworkFromBinaryFile(
- const char* graphFile,
- const std::map<std::string, armnn::TensorShape>& inputShapes,
- const std::vector<std::string>& requestedOutputs);
-
- /// Create the network directly from protobuf text in a string. Useful for debugging/testin.g
- armnn::INetworkPtr CreateNetworkFromString(
- const char* protoText,
- const std::map<std::string, armnn::TensorShape>& inputShapes,
- const std::vector<std::string>& requestedOutputs);
-
- /// Retrieve binding info (layer id and tensor info) for the network input identified by the given layer name.
- BindingPointInfo GetNetworkInputBindingInfo(const std::string& name) const;
-
- /// Retrieve binding info (layer id and tensor info) for the network output identified by the given layer name.
- BindingPointInfo GetNetworkOutputBindingInfo(const std::string& name) const;
-
-private:
- friend class CaffeParser;
- friend class RecordByRecordCaffeParser;
-
- ICaffeParser();
- ~ICaffeParser();
-
- class CaffeParserImpl;
- std::unique_ptr<CaffeParserImpl> pCaffeParserImpl;
-};
-
-} \ No newline at end of file
diff --git a/include/armnnCaffeParser/Version.hpp b/include/armnnCaffeParser/Version.hpp
deleted file mode 100644
index 6e7ce5a539..0000000000
--- a/include/armnnCaffeParser/Version.hpp
+++ /dev/null
@@ -1,29 +0,0 @@
-//
-// Copyright © 2021 Arm Ltd and Contributors. All rights reserved.
-// SPDX-License-Identifier: MIT
-//
-
-#pragma once
-
-namespace armnnCaffeParser
-{
-
-/// Macro utils
-#define STRINGIFY_VALUE(s) STRINGIFY_MACRO(s)
-#define STRINGIFY_MACRO(s) #s
-
-// CaffeParser version components
-#define CAFFE_PARSER_MAJOR_VERSION 24
-#define CAFFE_PARSER_MINOR_VERSION 1
-#define CAFFE_PARSER_PATCH_VERSION 0
-
-/// CAFFE_PARSER_VERSION: "X.Y.Z"
-/// where:
-/// X = Major version number
-/// Y = Minor version number
-/// Z = Patch version number
-#define CAFFE_PARSER_VERSION STRINGIFY_VALUE(CAFFE_PARSER_MAJOR_VERSION) "." \
- STRINGIFY_VALUE(CAFFE_PARSER_MINOR_VERSION) "." \
- STRINGIFY_VALUE(CAFFE_PARSER_PATCH_VERSION)
-
-} //namespace armnnCaffeParser \ No newline at end of file