Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for elideLargeElementsAttrs (0.38 sec)

  1. tensorflow/compiler/mlir/lite/python/flatbuffer_to_mlir.cc

      std::string mlir_output;
      llvm::raw_string_ostream output_stream(mlir_output);
      // Dump MLIR with eliding large elements.
      module->print(
          output_stream,
          mlir::OpPrintingFlags().useLocalScope().elideLargeElementsAttrs());
      return mlir_output;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/function/function.cc

    namespace tensorflow {
    
    Status CompileTFMLIRToBEF(const TfrtFunctionCompileOptions& options,
                              mlir::ModuleOp module, tfrt::BefBuffer* bef_buffer) {
      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);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 08:13:15 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow_to_stablehlo/tf_to_stablehlo_translate.cc

      }
    
      // Export StableHLO MLIR as output
      std::string result;
      llvm::raw_string_ostream os(result);
      OpPrintingFlags printing_flags;
      if (elide_large_elements_attrs) {
        printing_flags.elideLargeElementsAttrs();
      }
      module.print(os, printing_flags);
      os.flush();
    
      output->os() << result;
      output->keep();
    
      return absl::OkStatus();
    }
    
    }  // namespace
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump.cc

      }
    };
    
    }  // namespace
    
    void EnableIrPrinting(mlir::PassManager& pm,
                          absl::string_view file_name_prefix) {
      mlir::OpPrintingFlags flag{};
      flag.useLocalScope().elideLargeElementsAttrs().enableDebugInfo();
    
      // IR printing requires multithreading disabled.
      // Even if multithreading is already disabled, if we are executing within a
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:38:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/odml_to_stablehlo.cc

      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();
    
      return absl::OkStatus();
    }
    
    tensorflow::Status ConvertTFToStableHLO(
    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