- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for DumpRawStringToFile (0.23 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.h
// // This will create a file name via prefixing `name` with the value of the // TF_DUMP_GRAPH_PREFIX environment variable if `dirname` is empty and // suffixing `name` with ".mlir". std::string DumpRawStringToFile(llvm::StringRef name, llvm::StringRef content, llvm::StringRef dirname = ""); // Enable the crash reproducer on the provided PassManager to the provided // directory path.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 04:50:13 UTC 2023 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util_test.cc
} TEST(DumpRawStringToFileTest, Valid) { llvm::StringRef example = "module {\n}"; setenv("TF_DUMP_GRAPH_PREFIX", testing::TmpDir().c_str(), 1); std::string filepath = DumpRawStringToFile("example", example); ASSERT_NE(filepath, "(TF_DUMP_GRAPH_PREFIX not specified)"); ASSERT_NE(filepath, "LOG(INFO)"); ASSERT_NE(filepath, "(unavailable)"); Env* env = Env::Default();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 18 13:40:21 UTC 2024 - 5.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf.cc
std::string all_computations; for (auto computation : hlo_module->computations()) { all_computations += computation->ToString() + "\n\n"; } tensorflow::DumpRawStringToFile(name, all_computations); return absl::OkStatus(); } } // namespace absl::StatusOr<tensorflow::XlaCompilationResult> LegalizeMlirToHlo(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 29 00:40:46 UTC 2024 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.cc
LOG(WARNING) << "TF_DUMP_GRAPH_PREFIX=sponge but " "TEST_UNDECLARED_OUTPUT_DIRS is not set"; return ""; } return result; } std::string DumpRawStringToFile(llvm::StringRef name, llvm::StringRef content, llvm::StringRef dirname) { std::unique_ptr<raw_ostream> os; std::string filepath;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jan 05 03:03:46 UTC 2024 - 11.4K bytes - Viewed (0)