Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for BridgeLoggerConfig (0.18 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/data_dumper_logger_config.h

    #include <functional>
    #include <string>
    
    #include "tensorflow/compiler/mlir/tensorflow/utils/bridge_logger.h"
    
    namespace tensorflow {
    
    class DataDumperLoggerConfig : public ::tensorflow::BridgeLoggerConfig {
     public:
      explicit DataDumperLoggerConfig(
          std::function<std::string(const std::string &, mlir::Operation *op)>
              get_filename,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 00:41:24 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/data_dumper_logger_config.cc

            get_filename,
        const std::string &pass_prefix, bool print_module_scope,
        bool print_after_only_on_change, mlir::OpPrintingFlags op_printing_flags)
        : ::tensorflow::BridgeLoggerConfig(
              print_module_scope, print_after_only_on_change, op_printing_flags),
          get_filename_(get_filename),
          pass_prefix_(pass_prefix) {}
    
    void DataDumperLoggerConfig::printBeforeIfEnabled(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 00:41:24 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

        // Print the whole module after each pass which requires disabling
        // multi-threading as well.
        module_op.getContext()->disableMultithreading();
        pm.enableIRPrinting(std::make_unique<tensorflow::BridgeLoggerConfig>(
            /*print_module_scope=*/true));
      }
    
      mlir::StatusScopedDiagnosticHandler diag_handler(module_op.getContext());
      if (failed(pm.run(module_op))) return diag_handler.ConsumeStatus();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
Back to top