Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for QuantizationParameters (0.2 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/quantization_config.proto

      optional int32 dimension = 1;
    }
    
    // Signals quantization type to be per-tensor.
    message PerTensor {}
    
    // Corresponds to StableHLO's `QuantizedTensorElementType`. Type parameters such
    // as `QuantizationParameters` is omitted because they are determined during
    // quantization.
    // See https://github.com/openxla/stablehlo/blob/main/docs/spec.md#types for
    // details.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

      std::optional<BufferOffset<tflite::Tensor>> BuildTensor(
          Value value, const std::string& name, unsigned buffer_idx,
          const std::optional<BufferOffset<tflite::QuantizationParameters>>&
              quant_parameters);
    
      // TODO(b/137395003): Legalize tf.IfOp to TFLite dialect, and change the
      // following method to handle TFL::IfOp.
      BufferOffset<tflite::Operator> BuildIfOperator(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/schema/schema_generated.h

    struct QuantizationParametersBuilder {
      typedef QuantizationParameters Table;
      ::flatbuffers::FlatBufferBuilder &fbb_;
      ::flatbuffers::uoffset_t start_;
      void add_min(::flatbuffers::Offset<::flatbuffers::Vector<float>> min) {
        fbb_.AddOffset(QuantizationParameters::VT_MIN, min);
      }
      void add_max(::flatbuffers::Offset<::flatbuffers::Vector<float>> max) {
        fbb_.AddOffset(QuantizationParameters::VT_MAX, max);
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 1M bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

    }
    
    template <typename T>
    std::vector<T> GetAsVector(const flatbuffers::Vector<T>* vec) {
      return std::vector<T>(vec->begin(), vec->end());
    }
    
    void VerifyQuantizationScale(
        const QuantizationParameters& float_quant_params,
        const QuantizationParametersT& quantized_quant_params, const int bit_num,
        const bool symmetric) {
      const float eps = 1e-7;
      ASSERT_THAT(*float_quant_params.min(), SizeIs(1));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/test_schema.fbs

    }
    
    // Represents a specific quantization technique's parameters.
    union QuantizationDetails {
      CustomQuantization,
    }
    
    // Parameters for converting a quantized tensor back to float.
    table QuantizationParameters {
      // These four parameters are the asymmetric linear quantization parameters.
      // Given a quantized value q, the corresponding float value f should be:
      //   f = scale * (q - zero_point)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 19 19:46:06 UTC 2021
    - 26.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/schema/schema_v3b.fbs

    }
    
    // Represents a specific quantization technique's parameters.
    union QuantizationDetails {
      CustomQuantization,
    }
    
    // Parameters for converting a quantized tensor back to float.
    table QuantizationParameters {
      // These four parameters are the asymmetric linear quantization parameters.
      // Given a quantized value q, the corresponding float value f should be:
      //   f = scale * (q - zero_point)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 14:28:27 UTC 2024
    - 30K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/schema/schema.fbs

    }
    
    // Represents a specific quantization technique's parameters.
    union QuantizationDetails {
      CustomQuantization,
    }
    
    // Parameters for converting a quantized tensor back to float.
    table QuantizationParameters {
      // These four parameters are the asymmetric linear quantization parameters.
      // Given a quantized value q, the corresponding float value f should be:
      //   f = scale * (q - zero_point)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 41.7K bytes
    - Viewed (0)
Back to top