Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for truncateLimitedIntegerAPInt (0.14 sec)

  1. tensorflow/compiler/mlir/lite/utils/const_tensor_utils.cc

        ret.push_back(mlir::APInt(sizeof(T) * 8, val));
      }
      return ret;
    }
    
    // If the values in the buffer can be clamped to a bitwidth, truncate
    // and return the new clamped integer width.
    void truncateLimitedIntegerAPInt(llvm::SmallVector<mlir::APInt>& values) {
      mlir::APInt min = values[0];
      mlir::APInt max = values[0];
      for (mlir::APInt& val : values) {
        min = llvm::APIntOps::smin(val, min);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top