Searched refs:dim2 (Results 1 – 3 of 3) sorted by relevance
29 HashableDimensionKey dim2; in TEST() local49 dim2.addValue(FieldValue(field1, value1)); in TEST()50 dim2.addValue(FieldValue(field2, value2)); in TEST()52 MetricDimensionKey dimKey(dim, dim2); in TEST()
283 const auto& dim2 = result.value_tuple().dimensions_value(1); in TEST() local284 EXPECT_EQ(4, dim2.field()); in TEST()422 const auto& dim2 = result.value_tuple().dimensions_value(1); in TEST() local423 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() local471 EXPECT_EQ(DimensionsValue::ValueCase::kValueStr, dim2.value_case()); in TEST()472 EXPECT_EQ("tag", dim2.value_str()); in TEST()
350 uint32_t dim2 = 1; in calculateBroadcastedShape() local352 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()