- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for MaybeEnableIrPrinting (0.22 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/cc/run_passes.h
// and is used for debugging. Changing the `name` does not modify the behavior // of the passes. // // It will try to dump intermediate MLIRs if certain conditions are met. See the // description from `MaybeEnableIrPrinting` for the details about the // conditions. // // Returns a non-OK status when the pass run fails or it fails to create an MLIR // dump file. template <typename FuncT>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 07 01:17:26 UTC 2024 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/cc/run_passes.cc
/*propagate=*/true); absl::StatusOr<std::unique_ptr<llvm::raw_ostream>> dump_file; if (mlir_dump_file_name) { TF_RETURN_IF_ERROR(tensorflow::quantization::MaybeEnableIrPrinting( pass_manager, mlir_dump_file_name.value())); } if (failed(pass_manager.run(module_op))) { return statusHandler.ConsumeStatus(); } return absl::OkStatus(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 07 01:17:26 UTC 2024 - 1.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/quantize_preprocess.h
// // `mlir_dump_file_prefix` is primarily used for debugging and does not affect // the preprocessing behavior. Instructions for producing MLIR dump files are in // the comments of `tensorflow::quantization::MaybeEnableIrPrinting` function. absl::Status PreprocessAndFreezeGraph( absl::string_view mlir_dump_file_prefix, bool is_inliner_run, const absl::flat_hash_set<std::string>& noinline_functions,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 12:49:45 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump.h
// * `pass_number` increments from 1 for each pass. // * `pass_name` is the name of the pass. // * `before|after` indicates whether the dump occurs before or after the pass. absl::Status MaybeEnableIrPrinting(mlir::PassManager &pm, absl::string_view file_name_prefix); } // namespace quantization } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 14 03:17:14 UTC 2024 - 2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump.cc
pm.enableIRPrinting(std::make_unique<PrinterConfig>( file_name_prefix, /*print_module_scope=*/false, /*print_after_only_on_change=*/true, flag)); } absl::Status MaybeEnableIrPrinting(mlir::PassManager& pm, absl::string_view file_name_prefix) { if (!VLOG_IS_ON(1)) { LOG(INFO) << "Verbosity level too low to enable IR printing."; return absl::OkStatus();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 05:38:57 UTC 2024 - 9.1K bytes - Viewed (0)