- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getSExtValue (0.96 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc
for (uint64_t i = 0; i < block_rank; i++) { int64_t paddings_sum = paddings.getValues<APInt>()[{i, 0}].getSExtValue() + paddings.getValues<APInt>()[{i, 1}].getSExtValue(); int64_t block_shape_i = block_shape.getValues<APInt>()[i].getSExtValue(); padded_shape[i + 1] = (paddings_sum + input_shape[i + 1]); block_shape_ints.push_back(block_shape_i); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 74.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc
const int64_t input_zero_point_value = uniform_quantize_call_pattern_for_input.GetZeroPointsValueAttr() .getSplatValue<APInt>() .getSExtValue(); Value input_value = uniform_quantize_call_pattern_for_input.GetInputValue(); UniformQuantizedType input_quantized_element_type = CreateI8F32UniformQuantizedType(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 64.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
SmallVector<int32_t, 4> new_element_shape_values; auto int_values = dense_elem_attr.getValues<APInt>(); for (auto it = int_values.begin(); it != int_values.end(); ++it) { auto dim_value = (*it).getSExtValue(); if (it == int_values.begin() && dim_value == -1) { if (!default_to_single_batch_) { const char *error_info = "requires element_shape to be static during TF Lite "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 64.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_import.cc
for (const auto& dim : llvm::enumerate(shape_attr.getValues<llvm::APInt>())) { shape.push_back(builder.getI32IntegerAttr( mlir::TFL::ConvertToTfliteSize(dim.value().getSExtValue()))); ++dim_size; } auto shape_type = tensorflow::GetTypeFromTFTensorShape( {static_cast<int32_t>(dim_size)}, builder.getIntegerType(32));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 66.8K bytes - Viewed (0)