Home
last modified time | relevance | path

Searched refs:selected_index (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/compiler/tests/
Dquantized_ops_test.py72 selected_index = math_ops.equal(
74 gather_index = array_ops.boolean_mask(iota_r1, selected_index)
/external/tensorflow/tensorflow/lite/micro/kernels/
Ddetection_postprocess.cc542 int selected_index = selected[i]; in NonMaxSuppressionMultiClassRegularHelper() local
545 (selected_index * num_classes_with_background + col + label_offset); in NonMaxSuppressionMultiClassRegularHelper()
547 class_scores[selected_index]; in NonMaxSuppressionMultiClassRegularHelper()
672 int selected_index = selected[i]; in NonMaxSuppressionMultiClassFastHelper() local
675 scores + selected_index * num_classes_with_background + label_offset; in NonMaxSuppressionMultiClassFastHelper()
677 sorted_class_indices + selected_index * num_classes; in NonMaxSuppressionMultiClassFastHelper()
686 reinterpret_cast<BoxCornerEncoding*>(decoded_boxes)[selected_index]; in NonMaxSuppressionMultiClassFastHelper()
/external/libtextclassifier/native/utils/tflite/
Ddist_diversification.cc41 for (const int selected_index : result) { in DiversifyByDistance() local
42 if (distance_matrix(index, selected_index) < min_distance) { in DiversifyByDistance()
/external/tensorflow/tensorflow/lite/kernels/
Ddetection_postprocess.cc570 for (const auto& selected_index : selected) { in NonMaxSuppressionMultiClassRegularHelper() local
572 (selected_index * num_classes_with_background + col + label_offset); in NonMaxSuppressionMultiClassRegularHelper()
574 class_scores[selected_index]; in NonMaxSuppressionMultiClassRegularHelper()
703 for (const auto& selected_index : selected) { in NonMaxSuppressionMultiClassFastHelper() local
705 scores + selected_index * num_classes_with_background + label_offset; in NonMaxSuppressionMultiClassFastHelper()
707 sorted_class_indices.data() + selected_index * num_classes; in NonMaxSuppressionMultiClassFastHelper()
716 decoded_boxes)[selected_index]; in NonMaxSuppressionMultiClassFastHelper()
/external/tensorflow/tensorflow/core/kernels/
Dclustering_ops.cc254 int64 selected_index = 0; in Compute() local
255 float selected_distance = distances(selected_index); in Compute()
262 selected_index = i; in Compute()
273 output() = selected_index; in Compute()
/external/mesa3d/src/vulkan/device-select-layer/
Ddevice_select_layer.c449 …unsigned selected_index = get_default_device(info, selection, physical_device_count, physical_devi… in device_select_EnumeratePhysicalDevices() local
451 selected_physical_devices[0] = physical_devices[selected_index]; in device_select_EnumeratePhysicalDevices()
453 unsigned this_idx = i < selected_index ? i : i + 1; in device_select_EnumeratePhysicalDevices()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_evaluator_typed_visitor.h1893 absl::optional<std::vector<int64>> selected_index;
1901 selected_index = operand_index;
1913 selected_index = operand_index;
1922 selected_index->begin())) {
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dir_emitter.cc821 llvm_ir::IrArray::Index selected_index( in HandleSelectAndScatter() local
824 output_array.EmitReadArrayElement(selected_index, &b_); in HandleSelectAndScatter()
828 output_array.EmitWriteArrayElement(selected_index, scatter_value, &b_); in HandleSelectAndScatter()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter_unnested.cc2403 IrArray::Index selected_index(selected_multi_index, output_shape, in EmitSelectAndScatterFromMlir() local
2406 out_array.EmitArrayElementAddress(selected_index, &b_); in EmitSelectAndScatterFromMlir()
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_tf.cc951 Value selected_index = builder->create<SelectOp>( in BuildArgMinMaxReductionBody() local
954 Value return_values[] = {selected_input, selected_index}; in BuildArgMinMaxReductionBody()