Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for quantized_type (0.31 sec)

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

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

    using ::mlir::quant::IsI8F32UniformQuantizedType;
    using ::mlir::quant::IsOpFullyQuantized;
    using ::mlir::quant::IsQuantizedTensorType;
    using ::mlir::quant::IsSupportedByTfliteQuantizeOrDequantizeOps;
    using ::mlir::quant::QuantizedType;
    using ::mlir::quant::UniformQuantizedPerAxisType;
    using ::mlir::quant::UniformQuantizedType;
    
    const char* kPaddingSame = "SAME";
    const char* kPaddingValid = "VALID";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

        And<[
          SubstLeaves<"$_self", "getElementTypeOrSelf($_op.getOperand(" # j # "))",
            quant_QuantizedType.predicate>,
          CPred<"quant::QuantizedType::castToStorageType("
                    "getElementTypeOrSelf($_op.getResult(" # i # "))) == "
                "quant::QuantizedType::castToStorageType("
                    "getElementTypeOrSelf($_op.getOperand(" # j # ")))">]>]>]>;
    
    def TFL_SameFirstOperandAndFirstResultElementType :
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

        SetDefaultConvAttributes(conv_op, rewriter);
        if (!IsSupportedConvOp(conv_op)) {
          return failure();
        }
    
        // tf Convolution doesn't support quantized type.
        if (mlir::isa<quant::QuantizedType>(
                conv_op.getRhs().getType().getElementType())) {
          return failure();
        }
    
        // Constructs strides array.
        // For example, [2, 3] -> [1, 2, 3, 1].
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
Back to top