Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for DumpMlirOpToFile (0.31 sec)

  1. 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)
  2. 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)
  3. 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)
  4. tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc

        llvm::StringRef name = pass_registration.pass->name();
    
        if (DEBUG_DATA_DUMPER()->ShouldDump(function_name, kDebugGroupMain) ||
            VLOG_IS_ON(1)) {
          ::tensorflow::DumpMlirOpToFile(
              DEBUG_DATA_DUMPER()->GetDumpFilename(
                  function_name, kDebugGroupMain,
                  llvm::formatv("mlir_{0}_before", name)),
              *module_ref, llvm::StringRef(), nullptr);
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.cc

            "\"builtin.module("
         << passOS.str() << ")\", ";
      os << "disable_threading: true, ";
      os << "verify_each: true } } #-}";
      os << "\n\n";
    }
    
    std::string DumpMlirOpToFile(llvm::StringRef name, mlir::Operation* op,
                                 llvm::StringRef dirname,
                                 const mlir::PassManager* pass_manager) {
      std::unique_ptr<raw_ostream> os;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 03:03:46 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top