- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for DumpMlirOpToFile (0.32 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/bridge.cc
module.getContext(), /*propagate=*/false, /*filter_stack=*/!VLOG_IS_ON(1)); constexpr char kBridgeComponent[] = "TFXLABridge"; if (enable_logging || VLOG_IS_ON(1)) { tensorflow::DumpMlirOpToFile(kStandardPipelineBefore, module, "", &bridge); if (VLOG_IS_ON(2)) { tensorflow::tf2xla::internal::EnablePassIRPrinting(bridge, kBridgeComponent); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 09 17:16:05 UTC 2023 - 2.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util_test.cc
mlir::MLIRContext context; mlir::OwningOpRef<mlir::ModuleOp> module_ref = mlir::ModuleOp::create(mlir::UnknownLoc::get(&context)); unsetenv("TF_DUMP_GRAPH_PREFIX"); std::string filepath = DumpMlirOpToFile("module", module_ref.get()); EXPECT_EQ(filepath, "(TF_DUMP_GRAPH_PREFIX not specified)"); } TEST(DumpMlirModuleTest, LogInfo) { mlir::MLIRContext context; mlir::OwningOpRef<mlir::ModuleOp> module_ref =
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/tfrt/function/function.cc
mlir::OpPrintingFlags print_flags; print_flags.elideLargeElementsAttrs(); if (VLOG_IS_ON(1)) { VLOG(1) << "Input TF Executor dialect:"; DumpMlirOpToFile("tf_to_tfrt_tf_executor_dialect", module); } mlir::StatusScopedDiagnosticHandler diag_handler(module.getContext()); // Lower MLIR TF Dialect to MLIR TFRT CoreRT dialect.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 08:13:15 UTC 2024 - 3.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/tf_dialect_to_executor.cc
module.getContext(), /*propagate=*/false, /*filter_stack=*/!VLOG_IS_ON(1)); if (VLOG_IS_ON(1) || DEBUG_DATA_DUMPER()->ShouldDump(module_name.str(), kDebugGroupMain)) { ::tensorflow::DumpMlirOpToFile( DEBUG_DATA_DUMPER()->GetDumpFilename( module_name.str(), kDebugGroupMain, "tfxla_bridge_v1_tfdialect_to_executor_before"), module, llvm::StringRef(), &tf_to_executor);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 16 03:41:02 UTC 2024 - 7.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor.cc
tf_to_executor.enableVerifier(); AddTfDialectToExecutorPasses(tf_to_executor); if (VLOG_IS_ON(1) || DEBUG_DATA_DUMPER()->ShouldDump(module_name.str(), kDebugGroupMain)) { ::tensorflow::DumpMlirOpToFile( DEBUG_DATA_DUMPER()->GetDumpFilename( module_name.str(), kDebugGroupMain, "tfxla_bridge_v2_tfdialect_to_executor_before"), module, llvm::StringRef(), &tf_to_executor);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 13 23:22:50 UTC 2024 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/cluster_tf.cc
module.getContext(), /*propagate=*/false, /*filter_stack=*/!VLOG_IS_ON(1)); if (VLOG_IS_ON(1) || DEBUG_DATA_DUMPER()->ShouldDump(module_name.str(), kDebugGroupMain)) { ::tensorflow::DumpMlirOpToFile( DEBUG_DATA_DUMPER()->GetDumpFilename(module_name.str(), kDebugGroupMain, dump_prefix.str() + "_before"), module, llvm::StringRef(), &bridge); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 22:25:18 UTC 2024 - 8.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc
for (const auto& creator : pass_instrumentors) { tf2xla.addInstrumentation(creator()); } if (DEBUG_DATA_DUMPER()->ShouldDump(module_name.str(), kDebugGroupMain) || VLOG_IS_ON(1)) { tensorflow::DumpMlirOpToFile( DEBUG_DATA_DUMPER()->GetDumpFilename(module_name.str(), kDebugGroupMain, "legalize_hlo_before"), module_op, "", &tf2xla); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 17:24:39 UTC 2024 - 45.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops.cc
module.getContext(), /*propagate=*/false, /*filter_stack=*/!VLOG_IS_ON(1)); if (VLOG_IS_ON(1) || DEBUG_DATA_DUMPER()->ShouldDump(module_name.str(), kDebugGroupMain)) { ::tensorflow::DumpMlirOpToFile( DEBUG_DATA_DUMPER()->GetDumpFilename(module_name.str(), kDebugGroupMain, "runtime_lowering_before"), module, llvm::StringRef(), &runtime_lowering); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 17 18:52:57 UTC 2024 - 9.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/cluster_tf.cc
module.getContext(), /*propagate=*/false, /*filter_stack=*/!VLOG_IS_ON(1)); if (VLOG_IS_ON(1) || DEBUG_DATA_DUMPER()->ShouldDump(module_name.str(), kDebugGroupMain)) { ::tensorflow::DumpMlirOpToFile(DEBUG_DATA_DUMPER()->GetDumpFilename( module_name.str(), kDebugGroupMain, "_" + dump_prefix.str() + "_before"),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 22:25:18 UTC 2024 - 9.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.cc
if (!mlir::SetTPUInfeedLayout(mlir_module)) return errors::Internal("Failed to set layouts attribute"); if (VLOG_IS_ON(2)) { tensorflow::DumpMlirOpToFile("legalize_with_old_bridge", mlir_module.get()); } constexpr char kEntryFuncName[] = "main"; auto main_fn = mlir_module->lookupSymbol<mlir::func::FuncOp>(kEntryFuncName); if (!main_fn) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 22:19:26 UTC 2024 - 14K bytes - Viewed (0)