Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for enableDebugInfo (0.13 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/resource_device_inference.cc

    }
    
    // Print operation with debug info (to get line number info for debugging)
    void dump(StringRef message, Operation* op) {
      llvm::dbgs() << message;
      op->print(llvm::dbgs(), OpPrintingFlags().enableDebugInfo(
                                  /*enable=*/true, /*prettyForm=*/true));
      llvm::dbgs() << "\n";
    }
    
    // Propagates device assignment inside a function.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 03:47:00 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  2. 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)
Back to top