Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 539 for Quantization (0.74 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/preprocess_op.cc

    namespace {
    
    using QuantMethod =
        ::tensorflow::quantization::QuantizationMethod::PresetMethod;
    using QuantizationUnit = std::pair<Operation*, int>;
    using QuantizationUnits = llvm::SetVector<QuantizationUnit>;
    using ::tensorflow::quantization::OpSet;
    
    // Preprocesses ops to allow multi-axis quantization, prior to quantization
    // passes. Currently, per-channel quantization only supports 1D results.
    class PreprocessOpPass
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_quantized_functions.cc

          llvm::cl::values(
              clEnumValN(tensorflow::quantization::QuantizationMethod::
                             METHOD_STATIC_RANGE_INT8,
                         "ptq", "Post-training static-range quantization"),
              clEnumValN(tensorflow::quantization::QuantizationMethod::
                             METHOD_DYNAMIC_RANGE_INT8,
                         "drq", "Post-training dynamic-range quantizaiton"),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/quantization_options.proto

        CustomQuantizationMethod custom_quantization_method = 2;
      }
    }
    
    // Preset model quantization method for optimization.
    //
    // Common quantization methods are defined as preset methods in this message.
    // Note that the quantization specs (ex: bit width) for preset quantization
    // methods are fixed. To use a different quantization spec for a given method,
    // use CustomQuantizationMethod.
    // NEXT ID: 2
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 22 02:20:05 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/cc/BUILD

            ":types",
            "//tensorflow/compiler/mlir/quantization/stablehlo:quantization_config_proto_cc",
            "//tensorflow/compiler/mlir/quantization/tensorflow:exported_model_proto_cc",
            "//tensorflow/compiler/mlir/quantization/tensorflow:passes",
            "//tensorflow/compiler/mlir/quantization/tensorflow/cc:convert_asset_args",
            "//tensorflow/compiler/mlir/quantization/tensorflow/cc:run_passes",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 17K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/quantization/stablehlo/BUILD

            "//tensorflow/compiler/mlir/quantization/stablehlo/cc:config",
            "//tensorflow/compiler/mlir/quantization/stablehlo/cc:static_range_ptq",
            "//tensorflow/compiler/mlir/quantization/stablehlo/cc:weight_only_ptq",
            "//tensorflow/compiler/mlir/quantization/tensorflow/python:py_function_lib",
            "//tensorflow/compiler/mlir/tensorflow/transforms:tensorflow_passes",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 03:28:15 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/quantization_options.proto

      // Defines calibration options for quantization. This option is only used for
      // activation of static range quantization (SRQ). Quantization calibration
      // method is set to MIN_MAX by default.
      stablehlo.quantization.CalibrationOptions calibration_options = 15;
    
      // Configuration related to quantization debugger.
      stablehlo.quantization.DebuggerConfig debugger_config = 16;
    
      reserved 3;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 19 06:31:19 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/python/BUILD

    )
    
    pytype_strict_library(
        name = "quantization",
        srcs = ["quantization.py"],
        visibility = ["//visibility:public"],
        deps = [
            ":pywrap_quantization",
            "//tensorflow/compiler/mlir/quantization/stablehlo:quantization_config_proto_py",
            "//tensorflow/compiler/mlir/quantization/tensorflow/python:py_function_lib_py",
            "//tensorflow/compiler/mlir/quantization/tensorflow/python:save_model",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 20:18:36 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/cc/pass_pipeline.h

        const ::stablehlo::quantization::QuantizationSpecs& specs,
        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,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 12:53:33 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.py

        )
    
      # In addition to preset quantization methods, fine-grained control of
      # quantization for each component is also supported.
      _QuantizationComponentSpec = (
          tf.quantization.experimental.QuantizationComponentSpec
      )
      quantization_options = tf.quantization.experimental.QuantizationOptions(
          signature_keys=['your_signature_key'],
          quantization_method=tf.quantization.experimental.QuantizationMethod(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/cc/post_calibration.cc

    #include "tensorflow/compiler/mlir/quantization/stablehlo/instrumentations/save_report.h"
    #include "tensorflow/compiler/mlir/quantization/stablehlo/quantization_config.pb.h"
    #include "tensorflow/compiler/mlir/quantization/tensorflow/cc/run_passes.h"
    #include "xla/mlir_hlo/mhlo/transforms/passes.h"
    #include "tsl/platform/errors.h"
    
    namespace mlir::quant::stablehlo {
    
    using ::stablehlo::quantization::GetReportFilePath;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 02:59:01 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top