Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for mutable_quantization_method (0.23 sec)

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

        });
    
        // Set the test quantization method to static-range.
        if (quant_options_.quantization_method().preset_method() ==
            QuantizationMethod::METHOD_UNSPECIFIED) {
          quant_options_.mutable_quantization_method()->set_preset_method(
              QuantizationMethod::METHOD_STATIC_RANGE_INT8);
        }
    
        if (quant_options_.quantization_method()
                .quantization_component_specs()
                .empty()) {
    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_weights.cc

        quant_spec.set_tensor_type(
            tensorflow::quantization::QuantizationComponentSpec::TENSORTYPE_INT_8);
        auto mutable_quant_method = quant_options_.mutable_quantization_method();
        *mutable_quant_method->add_quantization_component_specs() = quant_spec;
      }
    };
    
    // If a constant is connected to a quantizable op, quantize the constant to have
    // the provided data type.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc

          // quantized by this transformation.
          const int kWeightsMinNumElementsDefault = 1024;
    
          quantization::QuantizationOptions quantization_options;
    
          quantization_options.mutable_quantization_method()->set_preset_method(
              quantization::QuantizationMethod::METHOD_DYNAMIC_RANGE_INT8);
          quantization_options.set_op_set(quantization::UNIFORM_QUANTIZED);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 23.8K bytes
    - Viewed (0)
Back to top