- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for quantizeFloatToInt (0.14 sec)
-
tensorflow/compiler/mlir/lite/quantization/ir/QuantizeUtils.cc
outConvertedType = quantizedElementType.getStorageType(); return IntegerAttr::get(quantizedElementType.getStorageType(), converter.quantizeFloatToInt(floatAttr.getValue())); } return nullptr; } /// Converts a real expressed DenseFPElementsAttr to a corresponding /// DenseElementsAttr (typically DenseIntElementsAttr) containing quantized
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/ir/UniformSupport.cc
return attr.mapValues(new_element_type, [&](const APFloat &old) { int chunk_index = flatten_index / chunk_size; flatten_index++; return converters[chunk_index % dim_size].quantizeFloatToInt(old); }); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 02:10:16 UTC 2024 - 4.3K bytes - Viewed (0)