- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for UniformQuantizedPerAxisValueConverter (0.34 sec)
-
tensorflow/compiler/mlir/quantization/common/ir/UniformSupport.cc
return elemental_type; } // Unsupported. return nullptr; } ElementsAttr UniformQuantizedPerAxisValueConverter::convert( Attribute real_value) { if (auto attr = dyn_cast<DenseFPElementsAttr>(real_value)) { return convert(attr); } return nullptr; } DenseElementsAttr UniformQuantizedPerAxisValueConverter::convert( DenseFPElementsAttr attr) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 02:10:16 UTC 2024 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/ir/UniformSupport.h
// parameters. The size of the quantization dim in the converted elements // attribute should match the size of of scales/zero_points vectors in the // quantization parameters. class UniformQuantizedPerAxisValueConverter { public: explicit UniformQuantizedPerAxisValueConverter( quant::UniformQuantizedPerAxisType uniform_type) : scales_(uniform_type.getScales()), zero_points_(uniform_type.getZeroPoints()),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 02:10:16 UTC 2024 - 9.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/ir/QuantizeUtils.cc
outConvertedType); } if (auto uniformQuantizedPerAxis = mlir::dyn_cast<quant::UniformQuantizedPerAxisType>( quantizedElementType)) { UniformQuantizedPerAxisValueConverter converter(uniformQuantizedPerAxis); auto converted = converter.convert(realValue); // TODO: why we need this outConvertedType? remove it? if (converted) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.1K bytes - Viewed (0)