Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetDumpDirFromEnvVar (0.17 sec)

  1. 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)
Back to top