Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 75 for calibration (0.23 sec)

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

    namespace mlir::quant::stablehlo {
    
    // Performs post-calibration graph transformation as part of post-training
    // static-range quantization.
    //
    // The resulting `ModuleOp` contains quantized StableHLO ops serialized in
    // `TF::XlaCallModuleOp`s. They are quantized using the statistics collected
    // after the calibration step, corresponding to each `TF::CustomAggregatorOp`s
    // in the input module op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 12:53:33 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/passes.td

    // Passes only used for testing purposes.
    
    include "mlir/Pass/PassBase.td"
    
    def TestPreCalibrationComponentPass : Pass<"stablehlo-test-pre-calibration-component", "mlir::ModuleOp"> {
      let summary = "Test-only pass to test the PreCalibrationComponent.";
      let description = [{
        Runs the pre calibration passes for post-training quantization with default
        configuration.
      }];
      let dependentDialects = [
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 23:21:42 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/cc/pass_pipeline.h

        const ::stablehlo::quantization::DebuggerConfig& debugger_config);
    
    // Adds passes for static-range quantization post-calibration. Utilizes tensor
    // statistics collected from the calibration step and performs quantization.
    void AddPostCalibrationPasses(
        OpPassManager& pm,
        const ::stablehlo::quantization::PipelineConfig& pipeline_config,
        const ::stablehlo::quantization::QuantizationSpecs& specs);
    
    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/calibration/statistics.h

    #include "tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics.pb.h"
    #include "tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.h"
    
    namespace stablehlo::quantization {
    
    // Reads the calibration statistics from the given directory.
    absl::StatusOr<absl::flat_hash_map<
        std::string, tensorflow::calibrator::CalibrationStatistics>>
    ReadStatistics(absl::string_view calibration_data_dir);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/cc/pre_calibration.h

    #include "tensorflow/compiler/mlir/quantization/stablehlo/quantization_config.pb.h"
    #include "tensorflow/compiler/mlir/quantization/tensorflow/quantization_options.pb.h"
    
    namespace mlir::quant::stablehlo {
    
    // Performs pre-calibration graph transformation as part of post-training
    // static-range quantization.
    
    // The resulting `ModuleOp` contains `TF::CustomAggregatorOp`s for collecting
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/quantization_config.proto

      string unquantized_dump_model_path = 2;
    
      // Path to save debugger related logs. Defaults to '/tmp/dumps'.
      string log_dir_path = 3;
    }
    
    // Defines various calibration options.
    // Next ID: 6
    message CalibrationOptions {
      // Configurations for calibration methods.
      // Next ID: 7
      enum CalibrationMethod {
        CALIBRATION_METHOD_UNSPECIFIED = 0;
        // Use the min, max values of all sample datasets.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  7. src/math/big/calibrate_test.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Calibration used to determine thresholds for using
    // different algorithms.  Ideally, this would be converted
    // to go generate to create thresholds.go
    
    // This file prints execution times for the Mul benchmark
    // given different Karatsuba thresholds. The result may be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_collector_min_max.h

    #include "tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics.pb.h"
    #include "tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_collector_base.h"
    #include "tensorflow/compiler/mlir/quantization/tensorflow/quantization_options.pb.h"
    
    namespace tensorflow {
    namespace calibrator {
    
    using ::stablehlo::quantization::CalibrationOptions;
    
    // MinMax calibration calculates the global min and global max values.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 05 03:57:26 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/quantization/stablehlo/quantization.h

    // SavedModel for calibration. Similarly, `saved_model_dir` is required to
    // access the assets of the original model. `saved_model_tags` uniquely
    // identifies the `MetaGraphDef`. `quantization_config` determines the behavior
    // of StableHLO Quantizer. `quantization_py_function_lib` contains python
    // implementations of certain APIs that are required for calibration.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 19 02:44:03 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/python/converter_python_api.h

                      const tensorflow::quantization::PyFunctionLibrary*
                          quantization_py_function_library = nullptr);
    
    // Quantize the model with calibration data. Throw errors if `fully_quantize`
    // is specified by the calibration data are not sufficient to quantize the
    // model.
    PyObject* MlirQuantizeModel(PyObject* data, bool disable_per_channel,
                                bool fully_quantize, int inference_type,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 18:18:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top