diff options
author | Jim Flynn <jim.flynn@arm.com> | 2019-12-16 11:50:29 +0000 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2019-12-16 16:58:07 +0000 |
commit | 14557e71d55e8d26d8c7f3e3912979b54e6e86ba (patch) | |
tree | ce3fd2f12fce2f662f401be46ea5f958165c95cf /Utils.hpp | |
parent | 4d3a24bc3a4900db8a647881b0b3a7a6bf387751 (diff) | |
download | android-nn-driver-14557e71d55e8d26d8c7f3e3912979b54e6e86ba.tar.gz |
IVGCVSW-4271 Add getSupportedOperations marker file
* Also fix segfault in previous graph dump code
Change-Id: I01915f47ae17d89ad3595430d073a17b1a1fda58
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'Utils.hpp')
-rw-r--r-- | Utils.hpp | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -104,11 +104,14 @@ void DumpJsonProfilingIfRequired(bool gpuProfilingEnabled, armnn::NetworkId networkId, const armnn::IProfiler* profiler); -void ExportNetworkGraphToDotFile(const armnn::IOptimizedNetwork& optimizedNetwork, - const std::string& dumpDir, - const armnn::NetworkId networkId); +std::string ExportNetworkGraphToDotFile(const armnn::IOptimizedNetwork& optimizedNetwork, + const std::string& dumpDir); + +void RenameGraphDotFile(const std::string& oldName, const std::string& dumpDir, const armnn::NetworkId networkId); /// Checks if a tensor info represents a dynamic tensor bool IsDynamicTensor(const armnn::TensorInfo& outputInfo); +std::string GetFileTimestamp(); + } // namespace armnn_driver |