Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for PipelineConfig (0.16 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)
  7. tensorflow/compiler/mlir/quantization/stablehlo/quantization_config.proto

      // Set of tags that uniquely identify the `MetaGraphDef` existing in the
      // input SavedModel.
      repeated string tags = 1;
    }
    
    // Configures the graph transformation pipeline for quantization.
    message PipelineConfig {
      // When set to True, unpacks ops with uniform quantized types into operations
      // without uniform quantized types (mostly i8 or i32). Useful when the target
      // hardware performs better with integer ops.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

                        tf_record=qc.TfRecordFile(path=dataset_path)
                    )
                ]
            ),
            tf_saved_model=qc.TfSavedModelConfig(tags=[tag_constants.SERVING]),
            pipeline_config=qc.PipelineConfig(
                merge_fusion_with_dequantize=merge_fusion_with_dequantize
            ),
        )
        quantization.quantize_saved_model(
            self._input_saved_model_path,
            self._output_saved_model_path,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
Back to top