Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/test/
DTestValidateOperations.cpp216 [this, newRank](const OperandTypeWithExtraParams& operandTypeWithParams) { in ModifyForRank() argument
217 return ModifyForRank(operandTypeWithParams, newRank); in ModifyForRank()
223 const OperandTypeWithExtraParams& operandTypeWithParams, uint32_t newRank) { in ModifyForRank() argument
224 if (operandTypeWithParams.operandType.dimensionCount == newRank) { in ModifyForRank()
225 return operandTypeWithParams; in ModifyForRank()
234 const auto originDims = operandTypeWithParams.operandType.dimensions; in ModifyForRank()
237 std::min(operandTypeWithParams.operandType.dimensionCount, newRank); in ModifyForRank()
242 OperandTypeWithExtraParams result = operandTypeWithParams; in ModifyForRank()
244 .type = operandTypeWithParams.operandType.type, in ModifyForRank()
247 .scale = operandTypeWithParams.operandType.scale, in ModifyForRank()
[all …]