- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CreateFileForDumping (0.32 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.cc
raw_ostream& os() override { return string_stream; } private: std::string internal_str; llvm::raw_string_ostream string_stream; }; } // namespace Status CreateFileForDumping(llvm::StringRef name, std::unique_ptr<raw_ostream>* os, std::string* filepath, llvm::StringRef dirname) { std::string dir; if (!dirname.empty())
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/tensorflow/utils/data_dumper_logger_config.cc
void DataDumperLoggerConfig::DumpMlir( const std::string &filename, BridgeLoggerConfig::PrintCallbackFn print_callback) { std::unique_ptr<llvm::raw_ostream> os; std::string filepath; if (tensorflow::CreateFileForDumping(filename, &os, &filepath).ok()) { print_callback(*os); LOG(INFO) << "Dumped MLIR module to " << filepath; } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 31 00:41:24 UTC 2023 - 2.4K bytes - Viewed (0)