- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for convertToInteger (0.14 sec)
-
tensorflow/compiler/mlir/quantization/common/ir/UniformSupport.h
APFloat fixed_point = llvm::minimum(scaled, clamp_max_); fixed_point = llvm::maximum(fixed_point, clamp_min_); llvm::APSInt result(storage_bit_width_, !is_signed_); fixed_point.convertToInteger(result, round_mode_, &lossy); return std::move(result); } int64_t quantizeFloatToInt64(APFloat expressed_value) const { const APInt q_value = quantizeFloatToInt(std::move(expressed_value));
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/stablehlo/transforms/compose_uniform_quantized_type_pass.cc
.mapValues(rewriter.getI8Type(), [](const APFloat& val) -> APInt { APSInt convertedInt(/*BitWidth=*/8, /*isUnsigned=*/false); bool ignored; val.convertToInteger(convertedInt, APFloat::rmTowardZero, &ignored); return convertedInt; }); } else if (isa<stablehlo::ConvertOp>(filter_op) &&
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 64.6K bytes - Viewed (0)