Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 539 for Quantization (0.56 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.h

    #include "mlir/IR/PatternMatch.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.h"
    
    namespace mlir::quant {
    
    LogicalResult FillAttributesForUniformQuantizedDotOp(
        PatternRewriter& rewriter, Operation* op,
        llvm::StringMap<Attribute>& identifier_to_attr,
        tensorflow::quantization::QuantizationMethod::PresetMethod
            quantization_method,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/passes.td

                  "The minimum number of elements in a weights array required to apply quantization.">,
          Option<"enable_float16_quantization_",
                  "enable-float16-quantization", "bool",
                  "false", "Whether apply float16 quantization. If false, int8 quantization is applied.">,
          Option<"enable_custom_op_quantization_",
                  "enable-custom-op-quantization", "std::string", "",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/BUILD

            "//tensorflow/compiler/mlir/lite/quantization/ir:QuantOps",
            "//tensorflow/compiler/mlir/quantization/common:attrs_and_constraints",
            "//tensorflow/compiler/mlir/quantization/common:func",
            "//tensorflow/compiler/mlir/quantization/common:lift_as_function_call",
            "//tensorflow/compiler/mlir/quantization/common:uniform_quantized_types",
            "//tensorflow/compiler/mlir/quantization/common/ir:QuantOps",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 02:59:01 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/cc/pre_calibration.cc

    #include "tensorflow/compiler/mlir/quantization/tensorflow/cc/run_passes.h"
    #include "tensorflow/compiler/mlir/quantization/tensorflow/quantization_options.pb.h"
    #include "tsl/platform/errors.h"
    
    namespace mlir::quant::stablehlo {
    
    using ::stablehlo::quantization::QuantizationConfig;
    using ::tensorflow::quantization::RunPasses;
    
    PreCalibrationComponent::PreCalibrationComponent(
        absl::Nonnull<MLIRContext*> ctx)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 09:28:53 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_weight_param.cc

    #define GEN_PASS_DEF_INSERTWEIGHTPARAMPASS
    #include "tensorflow/compiler/mlir/quantization/stablehlo/passes/passes.h.inc"
    
    namespace {
    
    using ::stablehlo::quantization::Method;
    using ::stablehlo::quantization::QuantizedType;
    using ::stablehlo::quantization::WeightOnlyPtq;
    
    // Inserts quantization parameters of weights for weight-only quantization and
    // dynamic range quantization of `stablehlo.convolution` and
    // `stablehlo.dot_general`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.h

      // Sets the quantization parameters of the operand to `quantized_type`. If any
      // quantization parameters have been propagated, a `requantize` will happen on
      // the output of propagated quantization. When `override` is set, quantization
      // state of the value is replaced instead of adding requantization. Returns
      // `true` if internal state has been modified.
      bool SetOperandParams(Operation* op, int operand_index,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:42:17 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/python/type_casters.h

    #include "tensorflow/compiler/mlir/quantization/stablehlo/quantization_config.pb.h"
    #include "tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics.pb.h"
    #include "tensorflow/compiler/mlir/quantization/tensorflow/exported_model.pb.h"
    #include "tensorflow/compiler/mlir/quantization/tensorflow/quantization_options.pb.h"
    #include "tensorflow/core/framework/graph.pb.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/test_post_calibration_component.cc

    #include "tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.h"  // IWYU pragma: keep
    #include "tensorflow/compiler/mlir/quantization/stablehlo/cc/config.h"
    #include "tensorflow/compiler/mlir/quantization/stablehlo/cc/post_calibration.h"
    #include "tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/passes.h"  // IWYU pragma: keep
    #include "tensorflow/compiler/mlir/quantization/stablehlo/quantization_config.pb.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 12:53:33 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.td

      let results = (outs quant_RealOrStorageValueType);
      let hasFolder = 1;
    }
    
    // A QuantizeRegion (region) represents a quantization unit which wraps
    // high-precision ops with quantization specifications for all the inputs
    // and outputs. Some quantization specifications can be undetermined and
    // derived from other ports by the target specification of the kernel.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 13 12:46:08 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_quantize_op.h

    ==============================================================================*/
    
    // This file provides a list of supported quantization algorithms in the format
    // of "apply<Name of the Quantization Algorithm>Quantization".
    // After applying the function, a quantize/dequantize functions are created
    // where the body of each function contains a specific quantization algorithm.
    // The input of the quantize function has one operand of
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Mar 24 07:44:40 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top