5 #if !defined(ARMNN_DISABLE_FILESYSTEM) 26 fs::path tmpDir = fs::temp_directory_path();
27 fs::path namedTempFile{tmpDir / fileName};
28 if (fs::exists(namedTempFile))
30 fs::remove(namedTempFile);
38 #endif // !defined(ARMNN_DISABLE_FILESYSTEM)
fs::path NamedTempFile(const char *fileName)
Returns a path to a file in the system temporary folder. If the file existed it will be deleted...