aboutsummaryrefslogtreecommitdiff
path: root/src/armnnDeserializer/Deserializer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/armnnDeserializer/Deserializer.hpp')
-rw-r--r--src/armnnDeserializer/Deserializer.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/armnnDeserializer/Deserializer.hpp b/src/armnnDeserializer/Deserializer.hpp
index ae8be6e932..8e8fe1aca8 100644
--- a/src/armnnDeserializer/Deserializer.hpp
+++ b/src/armnnDeserializer/Deserializer.hpp
@@ -144,9 +144,21 @@ private:
void SetupInputLayers(GraphPtr graphPtr);
void SetupOutputLayers(GraphPtr graphPtr);
+ /// Helper to get the index of the layer in the flatbuffer vector from its bindingId property
+ unsigned int GetInputLayerInVector(GraphPtr graph, int targetId);
+ unsigned int GetOutputLayerInVector(GraphPtr graph, int targetId);
+
/// Helper to get the index of the layer in the flatbuffer vector from its index property
unsigned int GetLayerIndexInVector(GraphPtr graph, unsigned int index);
+ struct FeatureVersions
+ {
+ // Default values to zero for backward compatibility
+ unsigned int m_BindingIdScheme = 0;
+ };
+
+ FeatureVersions GetFeatureVersions(GraphPtr graph);
+
/// The network we're building. Gets cleared after it is passed to the user
armnn::INetworkPtr m_Network;
std::vector<LayerParsingFunction> m_ParserFunctions;