- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GetDumpDirFromEnvVar (0.3 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.cc
std::string* filepath, llvm::StringRef dirname) { std::string dir; if (!dirname.empty()) dir = std::string(dirname); else dir = GetDumpDirFromEnvVar(); if (dir.empty()) { return Status(absl::StatusCode::kInvalidArgument, "(TF_DUMP_GRAPH_PREFIX not specified)"); } if (dir == kCrashReproducerStdErr) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jan 05 03:03:46 UTC 2024 - 11.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc
// Dumps the MLIR module to disk. // This require the TF_DUMP_GRAPH_PREFIX to be set to a path that exist (or can // be created). static void DumpModule(mlir::ModuleOp module, std::string file_prefix) { std::string prefix = GetDumpDirFromEnvVar(); if (prefix.empty()) return; auto* env = tensorflow::Env::Default(); auto status = env->RecursivelyCreateDir(prefix); if (!status.ok()) { LOG(WARNING) << "cannot create directory '" << prefix
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 22:19:26 UTC 2024 - 18.5K bytes - Viewed (0)