Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for DequantizeFuncType (0.69 sec)

  1. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform.cc

        const float zp = q_type.getZeroPoint();
    
        auto input_values = input_dequant.getValue();
    
        // mapValues always takes a function returning APInt, even when the output
        // is actually float.
        using DequantizeFuncType = llvm::APInt(const llvm::APInt&);
        auto dequantize_func = [&](const APInt& ap_int_value) -> APInt {
          const int64_t int_value = ap_int_value.getSExtValue();
    
          const float real = (int_value - zp) * scale;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top