Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for QUI8 (0.05 sec)

  1. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

        Element-wise addition operation.
      }];
    
      let arguments = (
        ins TFL_TensorOf<[F32, I16, I32, I64, QI8, QUI8, QI16]>:$lhs,
        TFL_TensorOf<[F32, I16, I32, I64, QI8, QUI8, QI16]>:$rhs,
        TFL_AFAttr:$fused_activation_function);
    
      let results = (outs
        TFL_TensorOf<[F32, I16, I32, I64, QI8, QUI8, QI16]>:$output);
    
      let hasFolder = 1;
    
      let builders = [TFL_FusedBroadcastableBinaryBuilder];
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/quantization/tools/tflite_op_coverage_spec_getters_gen.cc

          {"I64", "64-bit signless integer"},
          {"QI16", "QI16 type"},
          {"I8", "8-bit signless integer"},
          {"UI8", "8-bit unsigned integer"},
          {"QI8", "QI8 type"},
          {"QUI8", "QUI8 type"},
          {"TFL_Quint8", "TFLite quint8 type"},
      });
    
      return *entries;
    }
    
    void EmitDynamicRangeOp(std::vector<Record *> &defs, raw_ostream *ostream) {
      std::string dynamic_quant_kernel_support_regex =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/quantize_patterns.td

        $quant_input,
        $bias, $padding, $stride_h, $stride_w, $faf),
      (TFL_TransposeConvOp $output_shape, $quant_weights,
        $quant_input, $bias, $padding, $stride_h, $stride_w, $faf), 
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:10:13 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/utils/variables_utils.cc

          return true;
      }
      // Check quantized types.
      if (auto quant_type = element_type.dyn_cast<mlir::quant::QuantizedType>()) {
        // TFLite supports QI16, QI32, QI8, and QUI8
        if ((quant_type.getStorageTypeIntegralWidth() == 16 &&
             quant_type.isSigned()) ||
            quant_type.getStorageTypeIntegralWidth() == 8 ||
            (quant_type.getStorageTypeIntegralWidth() == 32 &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 21 19:32:03 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/tac/common/utils.h

      return quantized_type != nullptr &&
             quantized_type.getStorageTypeIntegralWidth() == 8 &&
             quantized_type.isSigned();
    }
    
    // Return true when the given element_type is QUI8.
    inline bool IsQUI8Type(Type t) {
      auto quantized_type = quant::QuantizedType::getQuantizedElementType(t);
      return quantized_type != nullptr &&
             quantized_type.getStorageTypeIntegralWidth() == 8 &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization.td

                            [8, zero_pt, smantissa, sexp, -128, 127], 1>;
    
    // General uniform quantized types. The definitions can be used to specify
    // operand's tensor types.
    def QI4 : QuantizedType<"Uniform", [4], 1>;
    def QUI8 : QuantizedType<"Uniform", [8], 0>;
    def QI8 : QuantizedType<"Uniform", [8], 1>;
    def QUI16 : QuantizedType<"Uniform", [16], 0>;
    def QI16 : QuantizedType<"Uniform", [16], 1>;
    def QUI32 : QuantizedType<"Uniform", [32], 0>;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

      return quantized_type != nullptr &&
             quantized_type.getStorageTypeIntegralWidth() == 8 &&
             quantized_type.isSigned();
    }
    
    // Return true when the given element_type is QUI8.
    bool IsQUI8Type(Type element_type) {
      auto quantized_type = element_type.dyn_cast<QuantizedType>();
      return quantized_type != nullptr &&
             quantized_type.getStorageTypeIntegralWidth() == 8 &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/ops.mlir

    func.func @testMaxPool2DWrongOperandResultType(tensor<1x7x7x16xi32>) -> tensor<1x7x7x16xi32> {
    ^bb0(%arg0: tensor<1x7x7x16xi32>):
      // expected-error @+1 {{'tfl.max_pool_2d' op operand #0 must be tensor of 32-bit float or QUI8 type or QI8 type or QI16 type or TFLite quint8 type values, but got 'tensor<1x7x7x16xi32>'}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
Back to top