- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for isUnsignedInteger (0.72 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/tflite_legalize_hlo.cc
} 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() : value.isMinSignedValue(); } } }; class ConvertReduceOpToTFLiteArgmin
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/modify_io_nodes.cc
arg_type = quantize_output.getType(); new_arg = block.addArgument(arg_type, loc); quantize_output.replaceAllUsesWith(new_arg); } else if (input_type.isUnsignedInteger( current_type.getIntOrFloatBitWidth())) { // int8 != uint8 arg_type = quant::ConvertSignedQuantizedToUnsigned( quantize_output.getType(), loc);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/fold_broadcast_pass.cc
static APSInt addSign(const APInt &v, Type t) { // Add signedness information to the value, treating signless as signed, // unless it's i1. return APSInt(v, t.isUnsignedInteger() || t.isSignlessInteger(1)); } // Helper method that given 'shape' and 'current_index' representing // index in broadcasted tensor, get the index in the flat original tensor.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
} 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() : value.isMinSignedValue(); } } }; class ConvertReduceOpToTfArgmin
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/ir/tfl_ops.cc
} // Return true when the given element_type is I32. bool IsI32Type(Type element_type) { return element_type.isInteger(32) && !element_type.isUnsignedInteger(); } // Return true when the given element_type is UI32. bool IsUI32Type(Type element_type) { return element_type.isInteger(32) && element_type.isUnsignedInteger(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.td
CPred<"getElementTypeOrSelf($_op.getResult(" # i # ")).isUnsignedInteger(" # num # ")">]>, Or<[CPred<"getElementTypeOrSelf($_op.getOperand(" # j # ")).isa<mlir::TF::Quint" # num # "Type>()">, CPred<"getElementTypeOrSelf($_op.getOperand(" # j # ")).isUnsignedInteger(" # num # ")">]>]>; class TFL_TFOperandTypesWithSameBits<int i, int j, int num> : And<[
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 186K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
if (elem_type.isSignlessInteger() || elem_type.isUnsignedInteger()) { auto start_attr = start_tensor.getValues<IntegerAttr>()[0]; auto limit_attr = limit_tensor.getValues<IntegerAttr>()[0]; auto delta_attr = delta_tensor.getValues<IntegerAttr>()[0]; int num_elements; if (elem_type.isUnsignedInteger()) { uint64_t start = start_attr.getUInt();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize.cc
// TFL_FillOp is created only if is_output_shape_dynamic is true, otherwise // a Arith.ConstOp is created. if (is_output_shape_dynamic && output_type.getElementType().isUnsignedInteger()) { return rewriter.notifyMatchFailure( loc, "Unsigned broadcast_to output with dynamic shape is not supported"); } Value mul_rhs_value;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0)