diff options
author | Jim Flynn <jim.flynn@arm.com> | 2020-03-19 17:03:14 +0000 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2020-03-19 17:03:14 +0000 |
commit | 0e2bab81442ee6cc2b94e4f7881ed0c5c6af65e7 (patch) | |
tree | b0af08b5a0b74149fca422151127ac6310385399 /include/armnnDeserializer/IDeserializer.hpp | |
parent | 8c3259fa007d43fcc5ea56fe6928526dbe79f3c0 (diff) | |
download | armnn-0e2bab81442ee6cc2b94e4f7881ed0c5c6af65e7.tar.gz |
Creating gh-pages documentation for ArmNN
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'include/armnnDeserializer/IDeserializer.hpp')
-rw-r--r-- | include/armnnDeserializer/IDeserializer.hpp | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/include/armnnDeserializer/IDeserializer.hpp b/include/armnnDeserializer/IDeserializer.hpp deleted file mode 100644 index b2e5d10b69..0000000000 --- a/include/armnnDeserializer/IDeserializer.hpp +++ /dev/null @@ -1,54 +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 armnnDeserializer -{ -struct BindingPointInfo -{ - armnn::LayerBindingId m_BindingId; - armnn::TensorInfo m_TensorInfo; -}; - -class IDeserializer; -using IDeserializerPtr = std::unique_ptr<IDeserializer, void(*)(IDeserializer* parser)>; - -class IDeserializer -{ -public: - static IDeserializer* CreateRaw(); - static IDeserializerPtr Create(); - static void Destroy(IDeserializer* parser); - - /// Create an input network from binary file contents - virtual armnn::INetworkPtr CreateNetworkFromBinary(const std::vector<uint8_t>& binaryContent) = 0; - - /// Create an input network from a binary input stream - virtual armnn::INetworkPtr CreateNetworkFromBinary(std::istream& binaryContent) = 0; - - /// Retrieve binding info (layer id and tensor info) for the network input identified by - /// the given layer name and layers id - virtual BindingPointInfo GetNetworkInputBindingInfo(unsigned int layerId, - const std::string& name) const = 0; - - /// Retrieve binding info (layer id and tensor info) for the network output identified by - /// the given layer name and layers id - virtual BindingPointInfo GetNetworkOutputBindingInfo(unsigned int layerId, - const std::string& name) const = 0; - -protected: - virtual ~IDeserializer() {}; - -}; -} //namespace armnnDeserializer
\ No newline at end of file |