- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getBitWidth (0.26 sec)
-
tensorflow/compiler/mlir/lite/utils/const_tensor_utils.cc
max = llvm::APIntOps::smax(val, max); } for (int64_t bw = 8; bw < min.getBitWidth(); bw += bw) { mlir::APInt limitMin = mlir::APInt::getSignedMinValue(bw).sext(min.getBitWidth()); mlir::APInt limitMax = mlir::APInt::getSignedMaxValue(bw).sext(min.getBitWidth()); // Skips to the next bitwidth if the min and max values are out of the range // for the current bitwidth.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 23:04:40 UTC 2024 - 16.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.cc
} for (auto element : attr) { if (mlir::isa<StringAttr>(element)) { continue; } if (auto integer = mlir::dyn_cast<IntegerAttr>(element)) { if (integer.getValue().getBitWidth() == 64) { continue; } } return op->emitError() << "'" << kTfSavedModelIndexPathAttr << "' elements should be strings or 64-bit integers"; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 23.5K bytes - Viewed (0)