Home
last modified time | relevance | path

Searched refs:dim2 (Results 1 – 3 of 3) sorted by relevance

/packages/modules/StatsD/statsd/tests/
Dmetadata_util_test.cpp29 HashableDimensionKey dim2; in TEST() local
49 dim2.addValue(FieldValue(field1, value1)); in TEST()
50 dim2.addValue(FieldValue(field2, value2)); in TEST()
52 MetricDimensionKey dimKey(dim, dim2); in TEST()
DFieldValue_test.cpp283 const auto& dim2 = result.value_tuple().dimensions_value(1); in TEST() local
284 EXPECT_EQ(4, dim2.field()); in TEST()
422 const auto& dim2 = result.value_tuple().dimensions_value(1); in TEST() local
423 EXPECT_EQ(DimensionsValue::ValueCase::kValueInt, dim2.value_case()); in TEST()
424 EXPECT_EQ(99999, dim2.value_int()); in TEST()
470 const auto& dim2 = result.dimensions_value(1); in TEST() local
471 EXPECT_EQ(DimensionsValue::ValueCase::kValueStr, dim2.value_case()); in TEST()
472 EXPECT_EQ("tag", dim2.value_str()); in TEST()
/packages/modules/NeuralNetworks/common/
DOperationsUtils.cpp350 uint32_t dim2 = 1; in calculateBroadcastedShape() local
352 dim2 = getSizeOfDimension(in2, numberOfDims2 - i); in calculateBroadcastedShape()
354 if (dim1 != dim2 && dim1 != 1 && dim2 != 1) { in calculateBroadcastedShape()
357 << "\nSecond tensor: dimension " << numberOfDims2 - i << " of size " << dim2; in calculateBroadcastedShape()
360 out->dimensions[maxDims - i] = (dim1 == 1) ? dim2 : dim1; in calculateBroadcastedShape()