Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/
DFieldValue_test.cpp282 const auto& dim2 = result.value_tuple().dimensions_value(1); in TEST() local
283 EXPECT_EQ(4, dim2.field()); in TEST()
378 const auto& dim2 = result.value_tuple().dimensions_value(1); in TEST() local
379 EXPECT_EQ(DimensionsValue::ValueCase::kValueInt, dim2.value_case()); in TEST()
380 EXPECT_EQ(99999, dim2.value_int()); in TEST()
426 const auto& dim2 = result.dimensions_value(1); in TEST() local
427 EXPECT_EQ(DimensionsValue::ValueCase::kValueStr, dim2.value_case()); in TEST()
428 EXPECT_EQ("tag", dim2.value_str()); in TEST()
/frameworks/ml/nn/common/
DOperationsUtils.cpp352 uint32_t dim2 = 1; in calculateBroadcastedShape() local
354 dim2 = getSizeOfDimension(in2, numberOfDims2 - i); in calculateBroadcastedShape()
356 if (dim1 != dim2 && dim1 != 1 && dim2 != 1) { in calculateBroadcastedShape()
359 << "\nSecond tensor: dimension " << numberOfDims2 - i << "of size " << dim2; in calculateBroadcastedShape()
362 out->dimensions[maxDims - i] = (dim1 == 1) ? dim2 : dim1; in calculateBroadcastedShape()