- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for enableDebugInfo (0.18 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/print.cc
void PrintPass::runOnOperation() { llvm::sys::SmartScopedLock<true> instrumentationLock(mutex_); OpPrintingFlags flags = OpPrintingFlags().elideLargeElementsAttrs().enableDebugInfo(false); getOperation()->print(*os_, flags); } } // namespace std::unique_ptr<OperationPass<ModuleOp>> CreatePrintPass(raw_ostream* os) { return std::make_unique<PrintPass>(os); } } // namespace TF
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 12 23:15:17 UTC 2023 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/serialize_mlir_module_utils.cc
std::string SerializeMlirModule(mlir::ModuleOp module_op) { std::string serialized_mlir_module; llvm::raw_string_ostream os(serialized_mlir_module); mlir::OpPrintingFlags print_flags; print_flags.enableDebugInfo(); module_op.print(os, print_flags); return std::move(os.str()); } Status DeserializeMlirModule(llvm::StringRef serialized_mlir_module, mlir::MLIRContext* mlir_context,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump.cc
}; } // namespace void EnableIrPrinting(mlir::PassManager& pm, absl::string_view file_name_prefix) { mlir::OpPrintingFlags flag{}; flag.useLocalScope().elideLargeElementsAttrs().enableDebugInfo(); // IR printing requires multithreading disabled. // Even if multithreading is already disabled, if we are executing within a // pass-manager, disableMultithreading throws assertion fail. Below if
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 05:38:57 UTC 2024 - 9.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/odml_to_stablehlo.cc
} // Export StableHLO MLIR as output std::string result; llvm::raw_string_ostream os(result); OpPrintingFlags printing_flags; if (debug_info) { printing_flags.enableDebugInfo(); } if (elide_large_elements_attrs) { printing_flags.elideLargeElementsAttrs(); } module.print(os, printing_flags); os.flush(); output->os() << result; output->keep();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:16:49 UTC 2024 - 14.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
module.print(os, flags); } return txt_module; } std::string MlirModuleToString(mlir::ModuleOp module, bool show_debug_info) { mlir::OpPrintingFlags flags; if (show_debug_info) flags.enableDebugInfo(); return MlirModuleToString(module, flags); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0)