Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for AddPostQuantizationStableHloToTfPasses (0.27 sec)

  1. tensorflow/compiler/mlir/lite/tf_tfl_passes.h

    // The input module is expected to be an MHLO module, or a quantized StableHLO
    // graph (expressed as `mlir::TF::XlaCallModuleOp`s) if
    // `pass_config.enable_stablehlo_quantizer` is `true`.
    void AddPostQuantizationStableHloToTfPasses(
        const mlir::TFL::PassConfig& pass_config,
        mlir::OpPassManager& pass_manager);
    
    // This is the early part of the conversion in isolation. This enables a caller
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 01 06:14:07 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

        // StableHLO because the quantizer takes StableHLO dialect as its input.
        pass_manager.addPass(mlir::mhlo::createHloLegalizeToStablehloPass());
      }
    }
    
    void AddPostQuantizationStableHloToTfPasses(
        const mlir::TFL::PassConfig& pass_config,
        mlir::OpPassManager& pass_manager) {
      if (pass_config.enable_stablehlo_quantizer) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc

          LOG(ERROR) << "Failed to run quantization: "
                     << quantized_module_op.status();
          return mlir::failure();
        }
        module = *quantized_module_op;
      }
    
      AddPostQuantizationStableHloToTfPasses(pass_config, pass_manager);
      if (failed(pass_manager.run(module))) {
        return mlir::failure();
      }
      pass_manager.clear();
    
      return mlir::success();
    }
    
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 23.8K bytes
    - Viewed (0)
Back to top