Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TEST_UNDECLARED_OUTPUTS_DIR (0.17 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.cc

      // the directory specified by the environment variable
      // TEST_UNDECLARED_OUTPUTS_DIR.
      string lower_path = absl::AsciiStrToLower(path);
      if (lower_path == "sponge") {
        if (!tensorflow::io::GetTestUndeclaredOutputsDir(&path)) {
          LOG(ERROR) << "MLIR crash reproducer is set to '" << dir_path.str()
                     << "', but environment variable TEST_UNDECLARED_OUTPUTS_DIR "
                        "is not set, so cannot dump anywhere.";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 03:03:46 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.h

    // Reads the directory to dump the MLIR module from environment variables.
    // Default is reading from TF_DUMP_GRAPH_PREFIX, and if the string is 'sponge'
    // read from TEST_UNDECLARED_OUTPUTS_DIR. Returns nullptr if the directory
    // cannot be determined and generates a warning message.
    std::string GetDumpDirFromEnvVar();
    
    // Dumps a raw string to a file and returns the file name used.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 04:50:13 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/debug/debug_test.cc

     private:
      std::string GetOutputPath() {
        const auto* const test_info =
            testing::UnitTest::GetInstance()->current_test_info();
        return tsl::io::JoinPath(
            getenv("TEST_UNDECLARED_OUTPUTS_DIR"),
            absl::StrCat(test_info->test_suite_name(), ".", test_info->name()));
      }
    };
    
    TEST_F(InitPassManagerTest, CrashReproducer) {
      converter::DebugOptions debug_options;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 11:15:16 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top