Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for QuantizationComponent (0.17 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/utils/fill_quantization_options.cc

    using ::stablehlo::quantization::PresetQuantizationMethod;
    using ::stablehlo::quantization::QuantizationComponentSpec;
    using ::stablehlo::quantization::QuantizationOptions;
    using QuantizationComponent =
        ::stablehlo::quantization::QuantizationComponentSpec_QuantizationComponent;
    using BitType = ::stablehlo::quantization::QuantizationComponentSpec_BitType;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 08:32:43 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/quantization_options.proto

    // Components whose QuantizationComponentSpec is not specified will not be
    // quantized, and remain f32.
    // NEXT ID: 7
    message QuantizationComponentSpec {
      // NEXT ID: 4
      enum QuantizationComponent {
        COMPONENT_UNSPECIFIED = 0;
        COMPONENT_ACTIVATION = 1;
        COMPONENT_WEIGHT = 2;
        COMPONENT_BIAS = 3;
      }
    
      // NEXT ID: 5
      enum BitWidth {
        BIT_WIDTH_UNSPECIFIED = 0;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 22 02:20:05 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/quantization_options.proto

    // Defines tensor type of the component. If the combination is not supported,
    // an error will be raised.
    // NEXT ID: 3
    message QuantizationComponentSpec {
      // NEXT ID: 4
      enum QuantizationComponent {
        COMPONENT_UNSPECIFIED = 0;
        COMPONENT_ACTIVATION = 1;
        COMPONENT_WEIGHT = 2;
        COMPONENT_BIAS = 3;
      }
    
      // NEXT ID: 4
      enum TensorType {
        TENSORTYPE_UNSPECIFIED = 0;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 19 06:31:19 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.cc

        }
    
        if (quant_options_.quantization_method()
                .quantization_component_specs()
                .empty()) {
          auto add_new_spec =
              [this](QuantizationComponentSpec::QuantizationComponent component,
                     QuantizationComponentSpec::TensorType type) {
                QuantizationComponentSpec* new_spec =
                    quant_options_.mutable_quantization_method()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.py

    _PresetMethod = _QuantizationMethod.PresetMethod
    _CalibrationMethod = (
        stablehlo_quant_config_pb2.CalibrationOptions.CalibrationMethod
    )
    
    _QuantizationComponent = _QuantizationComponentSpec.QuantizationComponent
    _TensorType = _QuantizationComponentSpec.TensorType
    
    _RepresentativeDatasetFile = quant_opts_pb2.RepresentativeDatasetFile
    
    # Mapping of signature def key -> SignatureDef.
    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/quantization/tensorflow/python/integration_test/quantize_model_test.py

    _CalibrationMethod = (
        stablehlo_quant_config_pb2.CalibrationOptions.CalibrationMethod
    )
    
    _QuantizationComponent = (
        quant_opts_pb2.QuantizationComponentSpec.QuantizationComponent
    )
    _TensorType = quant_opts_pb2.QuantizationComponentSpec.TensorType
    
    _TensorShape = Sequence[Union[int, None]]
    
    _PER_CHANNEL_QUANTIZED_OPS = (
        'UniformQuantizedConvolution',
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
Back to top