Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for quantized_type (0.43 sec)

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

      if (ele_type.isIntOrFloat()) {
        bit_width = ele_type.getIntOrFloatBitWidth();
        is_signed = ele_type.isSignlessIntOrFloat() || ele_type.isSignedInteger();
      } else if (QuantizedType qtype = mlir::dyn_cast<QuantizedType>(ele_type)) {
        bit_width = qtype.getStorageTypeIntegralWidth();
        is_signed = qtype.isSigned();
      } else {
        return input_type;
      }
    
      Type new_storage_type;
      if (is_signed) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

        TF_ASSIGN_OR_RETURN(value,
                            tfl::ConvertIntBuffer(shaped_type, buffer, truncate));
        TF_ASSIGN_OR_RETURN(
            mlir::quant::QuantizedType type,
            tfl::GetQuantizedType(tensor, builder, /*is_constant=*/true,
                                  /*storage_type=*/value.getElementType()));
        shaped_type = shaped_type.clone(type);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
Back to top