- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for float_spl (0.12 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
if (!sgn_splat) return false; auto splat = dyn_cast<SplatElementsAttr>(float_or_int); if (auto float_spl = llvm::dyn_cast_if_present<FloatAttr>(splat), sgn_cst_spl = llvm::dyn_cast_if_present<FloatAttr>(sgn_splat); float_spl && sgn_cst_spl) { return IsSign(float_spl.getValue(), sgn_cst_spl.getValue()); } if (auto int_spl = llvm::dyn_cast_if_present<IntegerAttr>(splat),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize.cc
const auto int_values = dense_int_attr.getValues<APInt>(); float float_val = 0.0f; if (!int_values.empty()) { const APInt apint_val = *int_values.begin(); if (dense_int_attr.getType().getElementType().isSignedInteger()) { // Get the sign-extended value (=>int64) if the type is signed. float_val = apint_val.getSExtValue(); } else {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0)