Home
last modified time | relevance | path

Searched refs:values_count (Results 1 – 25 of 36) sorted by relevance

12

/external/tensorflow/tensorflow/lite/kernels/
Dpack.cc38 TF_LITE_ENSURE_EQ(context, NumInputs(node), data->values_count); in Prepare()
58 for (int i = 1; i < data->values_count; ++i) { in Prepare()
71 output_shape->data[index] = data->values_count; in Prepare()
84 for (int i = 0; i < data->values_count; i++) { in Prepare()
97 TfLiteTensor* output, int values_count, int axis) { in PackImpl() argument
103 op_params.inputs_count = values_count; in PackImpl()
119 return PackImpl<float>(context, node, output, data->values_count, in Eval()
123 return PackImpl<uint8_t>(context, node, output, data->values_count, in Eval()
127 return PackImpl<int8_t>(context, node, output, data->values_count, in Eval()
131 return PackImpl<int16_t>(context, node, output, data->values_count, in Eval()
[all …]
Dpack_test.cc35 PackOpModel(const TensorData& input_template, int axis, int values_count) { in PackOpModel() argument
37 for (int i = 0; i < values_count; ++i) { in PackOpModel()
44 CreatePackOptions(builder_, values_count, axis).Union()); in PackOpModel()
/external/tensorflow/tensorflow/lite/micro/kernels/
Dpack.cc31 TfLiteEvalTensor* output, int values_count, int axis) { in PackImpl() argument
59 for (int i = 0; i < values_count; ++i) { in PackImpl()
64 int loc = k * values_count * copy_size + i * copy_size; in PackImpl()
82 return PackImpl<float>(context, node, output, data->values_count, in Eval()
86 return PackImpl<uint8_t>(context, node, output, data->values_count, in Eval()
90 return PackImpl<int8_t>(context, node, output, data->values_count, in Eval()
94 return PackImpl<int32_t>(context, node, output, data->values_count, in Eval()
98 return PackImpl<int64_t>(context, node, output, data->values_count, in Eval()
Dpack_test.cc68 .values_count = 2, in TestPackTwoInputsFloat()
102 .values_count = 3, in TestPackThreeInputsFloat()
139 .values_count = 2, in TestPackTwoInputsQuantized()
172 .values_count = 2, in TestPackTwoInputsQuantized32()
/external/tensorflow/tensorflow/core/kernels/
Dquantization_utils_test.cc38 const int values_count = values_quantized.size(); in TestRequantizeMany() local
40 expected_values.reserve(values_count); in TestRequantizeMany()
41 for (int value_index = 0; value_index < values_count; ++value_index) { in TestRequantizeMany()
49 Tensor o_tensor(DT_QUINT8, TensorShape{values_count}); in TestRequantizeMany()
64 for (size_t value_index = 0; value_index < values_count; ++value_index) { in TestRequantizeMany()
80 const int values_count = values_quantized.size(); in TestRequantizeMany8To32Bit() local
82 expected_values.reserve(values_count); in TestRequantizeMany8To32Bit()
83 for (int value_index = 0; value_index < values_count; ++value_index) { in TestRequantizeMany8To32Bit()
91 Tensor o_tensor(DT_QINT32, TensorShape{values_count}); in TestRequantizeMany8To32Bit()
100 for (int value_index = 0; value_index < values_count; ++value_index) { in TestRequantizeMany8To32Bit()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Druntime_key_value_sort.cc29 …::int64 a, tensorflow::int64 b, tensorflow::int64 c, char** values, tensorflow::int32 values_count, in __xla_cpu_runtime_KeyValueSort() argument
35 TF_ANNOTATE_MEMORY_IS_INITIALIZED(values, values_count * sizeof(char*)); in __xla_cpu_runtime_KeyValueSort()
37 values_count * sizeof(tensorflow::int32)); in __xla_cpu_runtime_KeyValueSort()
53 std::unique_ptr<char*[]> comparison_values(new char*[2 * values_count]); in __xla_cpu_runtime_KeyValueSort()
73 for (tensorflow::int32 i = 0; i < values_count; ++i) { in __xla_cpu_runtime_KeyValueSort()
95 for (tensorflow::int32 idx = 0; idx < values_count; ++idx) { in __xla_cpu_runtime_KeyValueSort()
Druntime_key_value_sort.h40 char** values, tensorflow::int32 values_count,
/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/tests/
Dpack_test.cc23 PackOpModel(const TensorData& input_template, int axis, int values_count) { in PackOpModel() argument
25 for (int i = 0; i < values_count; ++i) { in PackOpModel()
32 CreatePackOptions(builder_, values_count, axis).Union()); in PackOpModel()
/external/tensorflow/tensorflow/lite/c/
Dbuiltin_op_data.h438 int values_count; member
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/end2end/
Dunroll_batch_matmul.pbtxt99 …[[VAL_20:.*]] = "tfl.pack"(%[[VAL_18]], %[[VAL_19]]) {axis = 0 : i32, values_count = 2 : i32} : (t…
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Didentify_nearest_upsample.cc237 pack_op->values_count = scale; in Run()
Dunroll_batch_matmul.cc240 pack_op->values_count = pack_inputs.size(); in Run()
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dlegalize_tf.cc293 auto values_count = rewriter.getI32IntegerAttr(tf_pack_op.N()); in matchAndRewrite() local
297 rewriter.replaceOpWithNewOp<PackOp>(op, output_type, values, values_count, in matchAndRewrite()
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/
Dcanonicalize.mlir95 …%1 = "tfl.pack"(%0#0, %0#1) {axis = 0 : i32, values_count = 2 : i32} : (tensor<5xf32>, tensor<5xf3…
106 …%1 = "tfl.pack"(%0#0, %0#1) {axis = 0 : i32, values_count = 2 : i32} : (tensor<5xf32>, tensor<5xf3…
Dops.mlir1172 // CHECK: "tfl.pack"(%arg0, %arg1) {axis = 0 : i32, values_count = 2 : i32}
1173 …%0 = "tfl.pack"(%arg0, %arg1) {axis = 0 : i32, values_count = 2 : i32} : (tensor<2x!quant.uniform<…
1178 // CHECK: "tfl.pack"(%arg0, %arg1) {axis = 0 : i32, values_count = 2 : i32}
1179 …%0 = "tfl.pack"(%arg0, %arg1) {axis = 0 : i32, values_count = 2 : i32} : (tensor<2x!quant.uniform<…
1186 // CHECK: "tfl.pack"(%arg0, %arg1) {axis = 0 : i32, values_count = 2 : i32}
1187 …%0 = "tfl.pack"(%arg0, %arg1) {axis = 0 : i32, values_count = 2 : i32} : (tensor<2xi32>, tensor<2x…
1194 // CHECK: "tfl.pack"(%arg0, %arg1) {axis = 0 : i32, values_count = 2 : i32}
1195 …%0 = "tfl.pack"(%arg0, %arg1) {axis = 0 : i32, values_count = 2 : i32} : (tensor<2xi32>, tensor<*x…
1202 // CHECK: "tfl.pack"(%arg0, %arg1) {axis = 2 : i32, values_count = 2 : i32}
1203 …%0 = "tfl.pack"(%arg0, %arg1) {axis = 2 : i32, values_count = 2 : i32} : (tensor<1x4xi32>, tensor<…
[all …]
/external/mesa3d/src/imgui/
Dimgui_widgets.cpp5249 …* label, float (*values_getter)(void* data, int idx), void* data, int values_count, int values_off… in PlotEx() argument
5278 for (int i = 0; i < values_count; i++) in PlotEx()
5292 if (values_count > 0) in PlotEx()
5294 …int res_w = ImMin((int)frame_size.x, values_count) + ((plot_type == ImGuiPlotType_Lines) ? -1 : 0); in PlotEx()
5295 int item_count = values_count + ((plot_type == ImGuiPlotType_Lines) ? -1 : 0); in PlotEx()
5303 IM_ASSERT(v_idx >= 0 && v_idx < values_count); in PlotEx()
5305 const float v0 = values_getter(data, (v_idx + values_offset) % values_count); in PlotEx()
5306 const float v1 = values_getter(data, (v_idx + 1 + values_offset) % values_count); in PlotEx()
5317 float v0 = values_getter(data, (0 + values_offset) % values_count); in PlotEx()
5329 IM_ASSERT(v1_idx >= 0 && v1_idx < values_count); in PlotEx()
[all …]
Dimgui.h506 …IMGUI_API void PlotLines(const char* label, const float* values, int values_count, int va…
507 …r* label, float(*values_getter)(void* data, int idx), void* data, int values_count, int values_off…
508 …IMGUI_API void PlotHistogram(const char* label, const float* values, int values_count, in…
509 …r* label, float(*values_getter)(void* data, int idx), void* data, int values_count, int values_off…
/external/tensorflow/tensorflow/lite/toco/tflite/
Doperator_test.cc593 op.values_count = 3; in TEST_F()
597 EXPECT_EQ(op.values_count, output_toco_op->values_count); in TEST_F()
Doperator.cc1364 return ::tflite::CreatePackOptions(*builder, op.values_count, op.axis); in WriteOptions()
1369 op->values_count = options.values_count(); in ReadOptions()
/external/python/cpython2/Python/
Dast.c2280 int i, j, values_count, start = 1; in ast_for_print_stmt() local
2289 values_count = (NCH(n) + 1 - start) / 2; in ast_for_print_stmt()
2290 if (values_count) { in ast_for_print_stmt()
2291 seq = asdl_seq_new(values_count, c->c_arena); in ast_for_print_stmt()
/external/icu/icu4c/source/test/intltest/
Dtmsgfmt.cpp1530 int32_t values_count = UPRV_LENGTHOF(values); in TestRBNF() local
1554 for (int j = 0; j < values_count; ++j) { in TestRBNF()
/external/tensorflow/tensorflow/lite/core/api/
Dflatbuffer_conversions.cc1522 params->values_count = schema_params->values_count(); in ParsePack()
/external/tensorflow/tensorflow/lite/toco/
Dmodel.h1382 int values_count;
/external/tensorflow/tensorflow/compiler/mlir/lite/ir/
Dtfl_ops.cc1171 if (op.getOperation()->getNumOperands() != op.values_count()) in Verify()
1505 pack_op.values_count() != input_unpack_op.num()) in matchAndRewrite()
/external/tensorflow/tensorflow/lite/schema/
Dschema_v3a.fbs856 values_count:int;

12