diff options
Diffstat (limited to 'src/backends/backendsCommon/test/layerTests')
-rw-r--r-- | src/backends/backendsCommon/test/layerTests/DebugTestImpl.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/backends/backendsCommon/test/layerTests/DebugTestImpl.cpp b/src/backends/backendsCommon/test/layerTests/DebugTestImpl.cpp index fa9a825313..e2fa8dbf5a 100644 --- a/src/backends/backendsCommon/test/layerTests/DebugTestImpl.cpp +++ b/src/backends/backendsCommon/test/layerTests/DebugTestImpl.cpp @@ -70,7 +70,10 @@ LayerTestResult<T, Dim> DebugTestImpl( if (toFile) { + // Given that this is dependent on an ExNet switch, we need to explicitly set the directory that the + // files are stored in as this happens within the ExNet flow fs::path tmpDir = fs::temp_directory_path(); + armnnUtils::Filesystem::CreateDirectory("/ArmNNIntermediateLayerOutputs"); std::string full_path = tmpDir.generic_string() + "/ArmNNIntermediateLayerOutputs/" + layerName + ".numpy"; ExecuteWorkload(*workload, memoryManager); |