From ce3e84a8d449cbf31cee57e30f0eef6a96c0ce94 Mon Sep 17 00:00:00 2001 From: telsoa01 Date: Fri, 31 Aug 2018 09:31:35 +0100 Subject: Release 18.08 --- Utils.hpp | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) (limited to 'Utils.hpp') diff --git a/Utils.hpp b/Utils.hpp index 4b5066ee..e805f260 100644 --- a/Utils.hpp +++ b/Utils.hpp @@ -5,13 +5,13 @@ #pragma once -#include "HalInterfaces.h" -#include "NeuralNetworks.h" +#include "ArmnnDriver.hpp" + +#include + #include #include -#include "ArmnnDriver.hpp" - #include #include @@ -43,14 +43,20 @@ void* GetMemoryFromPool(DataLocation location, armnn::TensorInfo GetTensorInfoForOperand(const Operand& operand); std::string GetOperandSummary(const Operand& operand); -std::string GetModelSummary(const V1_0::Model& model); +std::string GetModelSummary(const ::android::hardware::neuralnetworks::V1_0::Model& model); void DumpTensor(const std::string& dumpDir, - const std::string& requestName, - const std::string& tensorName, - const armnn::ConstTensor& tensor); + const std::string& requestName, + const std::string& tensorName, + const armnn::ConstTensor& tensor); + +void DumpJsonProfilingIfRequired(bool gpuProfilingEnabled, + const std::string& dumpDir, + armnn::NetworkId networkId, + const armnn::IProfiler* profiler); void ExportNetworkGraphToDotFile(const armnn::IOptimizedNetwork& optimizedNetwork, const std::string& dumpDir, - const V1_0::Model& model); + const ::android::hardware::neuralnetworks::V1_0::Model& model); + } -- cgit v1.2.1