Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/test/
DTestValidateOperations.cpp211 const std::vector<OperandTypeWithExtraParams>& operandsTypeWithParams, uint_t newRank) { in ModifyForRank() argument
215 [this, newRank](const OperandTypeWithExtraParams& operandTypeWithParams) { in ModifyForRank()
216 return ModifyForRank(operandTypeWithParams, newRank); in ModifyForRank()
222 const OperandTypeWithExtraParams& operandTypeWithParams, uint_t newRank) { in ModifyForRank() argument
223 if (operandTypeWithParams.operandType.dimensionCount == newRank) { in ModifyForRank()
228 if (newRank != 0) { in ModifyForRank()
229 std::unique_ptr<uint32_t[]> dimensions = std::make_unique<uint32_t[]>(newRank); in ModifyForRank()
232 std::fill(resultDimensions, resultDimensions + newRank, 1); in ModifyForRank()
236 std::min(operandTypeWithParams.operandType.dimensionCount, newRank); in ModifyForRank()
244 .dimensionCount = newRank, in ModifyForRank()