- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for DumpMlirOpToFile (0.24 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/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/tensorflow/utils/dump_mlir_util.h
// TF_DUMP_GRAPH_PREFIX environment variable if `dirname` is empty and // suffixing `name` with ".mlir". // If `pass_manager` is provided, prints a header with the pass pipeline. std::string DumpMlirOpToFile(llvm::StringRef name, mlir::Operation* op, llvm::StringRef dirname = "", const mlir::PassManager* pass_manager = nullptr);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 04:50:13 UTC 2023 - 4.8K bytes - Viewed (0)