Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 54 of 54 for uniform_quantize (0.43 sec)

  1. 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)
  2. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

    // -----
    
    func.func @testUniformQuantize(%arg0: tensor<*xf32>, %scales: tensor<2xf32>, %zps: tensor<i32>) -> tensor<*x!tf_type.qint8> {
      // expected-error @below {{'tf.UniformQuantize' op quantization_axis is -1, scales must have 0 rank.}}
       %0 = "tf.UniformQuantize"(%arg0, %scales, %zps) {
        quantization_axis = -1 : i64, quantization_min_val = -128 : i64, quantization_max_val = 127 : i64
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

      for (auto [arg, arg_type, arg_loc] :
           llvm::zip_equal(entry.getArguments(), arg_types, arg_locs)) {
        arg.setType(arg_type);
        arg.setLoc(arg_loc);
      }
    }
    
    // Creates a UniformQuantize op and sets it as return op.
    // The requantize scale and zero point should be determined from the
    // `entry_func_op`'s output, containing information on layerStats of the
    // entire function.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

      TF_DerivedOperandTypeAttr Tin = TF_DerivedOperandTypeAttr<0>;
      TF_DerivedResultTypeAttr Tout = TF_DerivedResultTypeAttr<0>;
    
      let hasVerifier = 1;
    }
    
    def TF_UniformQuantizeOp : TF_Op<"UniformQuantize", [Pure]> {
      let summary = "Perform quantization on Tensor `input`.";
    
      let description = [{
    Given `input`, `scales` and `zero_points`, performs quantization using the formula:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top