Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for PipelineConfig (0.34 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/cc/post_calibration.cc

    #include "xla/mlir_hlo/mhlo/transforms/passes.h"
    #include "tsl/platform/errors.h"
    
    namespace mlir::quant::stablehlo {
    
    using ::stablehlo::quantization::GetReportFilePath;
    using ::stablehlo::quantization::PipelineConfig;
    using ::stablehlo::quantization::QuantizationConfig;
    using ::stablehlo::quantization::QuantizationSpecs;
    using ::tensorflow::quantization::RunPasses;
    
    PostCalibrationComponent::PostCalibrationComponent(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 02:59:01 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/test_post_calibration_component.cc

    #include "tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/passes.h.inc"
    
    namespace {
    
    using ::stablehlo::quantization::ExpandPresets;
    using ::stablehlo::quantization::PipelineConfig;
    using ::stablehlo::quantization::QuantizationConfig;
    
    class TestPostCalibrationComponentPass
        : public impl::TestPostCalibrationComponentPassBase<
              TestPostCalibrationComponentPass> {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 12:53:33 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/cc/pass_pipeline.h

        OpPassManager& pm,
        const ::stablehlo::quantization::PipelineConfig& pipeline_config,
        const ::stablehlo::quantization::QuantizationSpecs& specs);
    
    // Adds passes for weight-only quantization.
    void AddWeightOnlyQuantizationPasses(
        OpPassManager& pm,
        const ::stablehlo::quantization::QuantizationSpecs& quantization_specs,
        const ::stablehlo::quantization::PipelineConfig& pipeline_config,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 12:53:33 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/cc/pass_pipeline.cc

    #include "xla/mlir_hlo/mhlo/transforms/passes.h"
    
    namespace mlir::quant::stablehlo {
    
    using ::stablehlo::quantization::CalibrationOptions;
    using ::stablehlo::quantization::DebuggerConfig;
    using ::stablehlo::quantization::PipelineConfig;
    using ::stablehlo::quantization::QuantizationSpecs;
    
    void AddPreCalibrationPasses(OpPassManager& pm,
                                 const CalibrationOptions& calibration_options,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/cc/post_calibration.h

      void AddPasses(
          OpPassManager& pm,
          const ::stablehlo::quantization::QuantizationSpecs& specs,
          const ::stablehlo::quantization::PipelineConfig& pipeline_config) const;
    
     private:
      absl::Nonnull<MLIRContext*> ctx_;
    };
    
    }  // namespace mlir::quant::stablehlo
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 12:53:33 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/cc/config.cc

    }
    
    QuantizationConfig PopulateDefaults(
        const QuantizationConfig& user_provided_config) {
      QuantizationConfig config = user_provided_config;
    
      PopulateDefaultCalibrationOptions(config);
    
      PipelineConfig& pipeline_config = *config.mutable_pipeline_config();
      if (!pipeline_config.has_unpack_quantized_types()) {
        pipeline_config.set_unpack_quantized_types(true);
      }
    
      return config;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top