- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for value_begin (0.26 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
return false; if (mlir::isa<FloatType>(element_type)) { auto value = *attr.value_begin<APFloat>(); return value.isNegative() && value.isInfinity(); } else if (element_type.isInteger(1)) { auto value = *attr.value_begin<APInt>(); return value.isZero(); } else { auto value = *attr.value_begin<APInt>(); return element_type.isUnsignedInteger() ? value.isMinValue()
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
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
TFL::TransposeOp::build( *builder, result, UnrankedTensorType::get(input_type.getElementType()), input, perm); return; } const auto perm_value_it = perm_const.value_begin<APInt>(); const ArrayRef<int64_t> input_shape = input_type.getShape(); SmallVector<int64_t, 4> output_shape(input_shape.size()); for (int i = 0; i < output_shape.size(); ++i) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0)