- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for isSignedInteger (0.5 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc
bool is_signed; Type ele_type = input_type.getElementType(); 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; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 54.5K bytes - Viewed (0)