Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for roundToIntegral (0.14 sec)

  1. tensorflow/compiler/mlir/quantization/common/ir/UniformSupport.h

        // fixed_point = clamp(clamp_min, clamp_max, (
        //   roundHalfToEven(expressed / scale) + zero_point))
        APFloat scaled = (expressed_value / scale_);
        scaled.roundToIntegral(round_mode_);
        scaled.add(zero_point_, round_mode_);
        APFloat fixed_point = llvm::minimum(scaled, clamp_max_);
        fixed_point = llvm::maximum(fixed_point, clamp_min_);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. src/math/big/float.go

    // or of a difference x−y regarded as a sum x+(−y), differs from at most
    // one of the addends’ signs; and the sign of the result of conversions,
    // the quantize operation, the roundToIntegral operations, and the
    // roundToIntegralExact (see 5.3.1) is the sign of the first or only operand.
    // These rules shall apply even when operands or results are zero or infinite.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
Back to top