Searched refs:valueB (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/libs/hwui/utils/ |
D | MathUtils.h | 83 inline static bool areEqual(float valueA, float valueB) { return isZero(valueA - valueB); } in areEqual() argument
|
/frameworks/ml/nn/runtime/test/ |
D | TestUnspecifiedDimensions.cpp | 331 for (const auto valueB : valueBChoices) { in TestOne() local 332 SCOPED_TRACE("ValueB: " + std::to_string(valueB)); in TestOne() 333 if (valueB != kValueB && in TestOne() 348 result = setInOut<T>(&execution, kIndex0_Execution, 0, {kValueA, valueB}, bufferOp0, in TestOne() 365 result = setInOut<T>(&execution, kIndex4_Execution, 0, {valueB, kValueA}, bufferOp4, in TestOne() 377 std::vector<uint32_t> expectedOutputShape = {valueB, kDimAGood}; in TestOne() 386 for (uint32_t i = 0; i < kDimAGood * valueB; i++) { in TestOne() 387 ASSERT_EQ(outputBuffer[i], valueB == 1 ? expected_1x2[i] : expected_2x2[i]); in TestOne()
|