IVGCVSW-4901 Add semantic versioning to Parsers and TfLite Delegate
* Added Version.hpp to all Parsers
* Added Version.hpp to TfLite Delegate
* Updated CMakeLists to use new versions
* Added GetVersion method to parsers and TfLite Delegate
Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com>
Change-Id: If29e1e6d9e615f9095ec1c01ad47acfff40b1dd5
diff --git a/src/armnnTfParser/TfParser.cpp b/src/armnnTfParser/TfParser.cpp
index d13a277..1e566fe 100755
--- a/src/armnnTfParser/TfParser.cpp
+++ b/src/armnnTfParser/TfParser.cpp
@@ -5,6 +5,8 @@
#include "TfParser.hpp"
+#include "armnnTfParser/Version.hpp"
+
#include <armnn/TypesUtils.hpp>
#include <armnn/Descriptors.hpp>
@@ -25,6 +27,7 @@
#include <fmt/core.h>
#include <fmt/format.h>
+#include <iostream>
#include <numeric>
using namespace armnnUtils;
@@ -3734,4 +3737,9 @@
}
}
+const std::string ITfParser::TfParserImpl::GetVersion()
+{
+ return TF_PARSER_VERSION;
+}
+
} // namespace armnnTfParser