Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/common/
DValidateHal.cpp783 uint32_t modelRank = operand.dimensions.size(); in validateRequestArguments() local
791 NN_RET_CHECK_GT(modelRank, 0) in validateRequestArguments()
796 for (size_t i = 0; i < modelRank; i++) { in validateRequestArguments()
806 if (modelRank != 0 && requestRank != modelRank) { in validateRequestArguments()
809 << ") different than the model's (" << modelRank << ")"; in validateRequestArguments()
813 if (modelRank != 0 && requestArgument.dimensions[i] != operand.dimensions[i] && in validateRequestArguments()
DValidation.cpp1188 uint32_t modelRank = operand.dimensions.size(); in validateRequestArgumentsForModel() local
1194 if (modelRank <= 0) { in validateRequestArgumentsForModel()
1205 for (size_t i = 0; i < modelRank; i++) { in validateRequestArgumentsForModel()
1215 NN_VALIDATE(modelRank == 0 || requestRank == modelRank) in validateRequestArgumentsForModel()
1218 << ") different than the model's (" << modelRank << ")"; in validateRequestArgumentsForModel()
1220 NN_VALIDATE(modelRank == 0 || operand.dimensions[i] == 0 || in validateRequestArgumentsForModel()