Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for lower_to_xla_hlo (0.19 sec)

  1. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.h

        llvm::MutableArrayRef<std::unique_ptr<mlir::Pass>>
            custom_legalization_passes,
        llvm::StringRef module_name = llvm::StringRef(),
        bool lower_to_xla_hlo = true);
    
    // Runs MLIR Bridge on a serialized MLIR module.
    //
    // If lower_to_xla_hlo is true then compiles down into XLA HLO, generates all
    // accompanying metadata and stores them in CompilationResult.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

    void AddLegalizationPasses(mlir::OpPassManager& pm, bool legalize_chlo,
                               llvm::StringRef device_type, bool enable_op_fallback,
                               bool lower_to_xla_hlo) {
      if (lower_to_xla_hlo) {
        // Lower TF quant ops and types to MHLO int.
        mlir::quant::stablehlo::AddQuantizationLoweringPasses(pm);
    
        pm.addPass(mlir::mhlo::createLegalizeTFPass(
            legalize_chlo,
    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