- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for printAfterIfEnabled (0.34 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/data_dumper_logger_config_test.cc
data_dumper_logger_config.printAfterIfEnabled( partitioning_pass.get(), mlir_module_with_add.get(), print_callback); EXPECT_EQ(print_callback_count, 3); data_dumper_logger_config.printAfterIfEnabled( shape_inference_pass.get(), mlir_module_with_add.get(), print_callback); EXPECT_EQ(print_callback_count, 4); data_dumper_logger_config.printAfterIfEnabled(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 31 00:41:24 UTC 2023 - 3.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/data_dumper_logger_config.h
mlir::OpPrintingFlags op_printing_flags = mlir::OpPrintingFlags()); void printBeforeIfEnabled(mlir::Pass *pass, mlir::Operation *op, PrintCallbackFn print_callback) override; void printAfterIfEnabled(mlir::Pass *pass, mlir::Operation *op, PrintCallbackFn print_callback) override; private: static void DumpMlir(const std::string &filename,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 31 00:41:24 UTC 2023 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/data_dumper_logger_config.cc
std::string filename = get_filename_(pass_prefix_ + "before_" + pass_name, op); if (ShouldPrint(pass, op)) DumpMlir(filename, print_callback); } void DataDumperLoggerConfig::printAfterIfEnabled( mlir::Pass *pass, mlir::Operation *op, PrintCallbackFn print_callback) { std::string pass_name = pass->getName().str(); std::string filename = get_filename_(pass_prefix_ + "after_" + pass_name, op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 31 00:41:24 UTC 2023 - 2.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/bridge_logger.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 06 22:29:51 UTC 2023 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/bridge_logger.h
// of 'operation' should be dumped *after* the pass 'pass' has been // executed. If the IR should be dumped, 'print_callback' should be invoked // with the stream to dump into. void printAfterIfEnabled(mlir::Pass* pass, mlir::Operation* op, PrintCallbackFn print_callback) override; // Returns `true` iff we should log IR for given `pass` and `op`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 06 22:29:51 UTC 2023 - 4.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump.cc
void printBeforeIfEnabled(mlir::Pass* pass, mlir::Operation* op, PrintCallbackFn print_callback) override { Dump(pass, print_callback, /*is_before=*/true); } void printAfterIfEnabled(mlir::Pass* pass, mlir::Operation* op, PrintCallbackFn print_callback) override { Dump(pass, print_callback, /*is_before=*/false); } private: int64_t mlir_pass_count_;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 05:38:57 UTC 2024 - 9.1K bytes - Viewed (0)