Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for UNIFORM_QUANTIZED (0.33 sec)

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

              clEnumValN(OpSet::TF, "TF",
                         "Uses TF ops that mimic quantization behavior"),
              clEnumValN(OpSet::XLA, "XLA", "Uses TF XLA ops"),
              clEnumValN(OpSet::UNIFORM_QUANTIZED, "UNIFORM_QUANTIZED",
                         "Uses TF Uniform Quantized ops"))};
    
      // Initialize for tests.
      void initializeForTest() {
        if (!test_mode_) return;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize.cc

              clEnumValN(OpSet::TF, "TF",
                         "Uses TF ops that mimic quantization behavior"),
              clEnumValN(OpSet::XLA, "XLA", "Uses TF XLA ops"),
              clEnumValN(OpSet::UNIFORM_QUANTIZED, "UNIFORM_QUANTIZED",
                         "Uses TF Uniform Quantized ops"))};
    };
    
    bool QuantizePass::shouldKeepUnusedQdqPattern() {
      return target_opset_ == OpSet::XLA &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize_drq.cc

      // Constructor used by the PassRegistration and enforce int8 quantization.
      // This is only used by test.
      explicit PrepareQuantizeDRQPass() : op_set_(OpSet::UNIFORM_QUANTIZED) {
        quant_specs_.inference_type = tensorflow::DT_QINT8;
      }
    
      // Constructor used by manually creating the pass.
      explicit PrepareQuantizeDRQPass(const QuantizationSpecs& quant_specs,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/quantization_options.proto

      // Uses TF ops that mimic quantization behavior. Used when the corresponding
      // integer op is not yet present.
      TF = 1;
      // Uses TF XLA ops
      XLA = 2;
      // Uses TF Uniform Quantized ops
      UNIFORM_QUANTIZED = 3;
      // Uses the StableHLO Quantizer. StableHLO Quantizer will be available as
      // an option in the TF Quantizer in StableHLO Quantizer v1.
      STABLEHLO = 4;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 19 06:31:19 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.py

        quantization_options.enable_per_channel_quantization = False
    
      if quantization_options.enable_per_channel_quantization and not (
          (
              quantization_options.op_set == quant_opts_pb2.OpSet.UNIFORM_QUANTIZED
              or quantization_options.quantization_method.preset_method
              == _PresetMethod.METHOD_STATIC_RANGE_WEIGHT_ONLY_INT8
          )
          or (
              quantization_options.op_set
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc

          quantization_options.mutable_quantization_method()->set_preset_method(
              quantization::QuantizationMethod::METHOD_DYNAMIC_RANGE_INT8);
          quantization_options.set_op_set(quantization::UNIFORM_QUANTIZED);
          quantization_options.set_min_num_elements_for_weights(
              kWeightsMinNumElementsDefault);
          quantization::AddQuantizePtqDynamicRangePasses(pass_manager,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc

            UniformQuantizeFunctionCallPattern::Match(uniform_quantize_call_op);
        if (failed(uniform_quantize_call_pattern_for_input)) {
          LLVM_DEBUG(llvm::dbgs()
                     << "Failed to match uniform_quantized call op for input.\n");
          return failure();
        }
    
        // Match the subgraph that receives the convolution output.
        Value conv_output_value = op.getResult();
        if (auto output_element_type =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 64.6K bytes
    - Viewed (0)
Back to top