Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/test/
DTestUnspecifiedDimensions.cpp163 uint32_t modelIndex, executionIndex; in SetUp() local
166 modelIndex = kIndex0_Model; in SetUp()
168 mBadIndexChoices = {kIndexCount, modelIndex, executionIndex}; in SetUp()
172 modelIndex = kIndex1_Model; in SetUp()
174 mBadIndexChoices = {kIndexCount, modelIndex}; in SetUp()
178 modelIndex = kIndex2_Model; in SetUp()
180 mBadIndexChoices = {kIndexCount, modelIndex}; in SetUp()
184 modelIndex = kIndex3_Model; in SetUp()
191 modelIndex = kIndex3_Model; in SetUp()
197 modelIndex = kIndex4_Model; in SetUp()
[all …]
/frameworks/ml/nn/runtime/
DMemory.cpp392 uint32_t modelIndex = mDesc.preparedModels.add(preparedModel); in addRole() local
393 BufferRole role = {.modelIndex = modelIndex, .ioIndex = ind, .frequency = freq}; in addRole()
DExecutionPlan.h95 uint32_t modelIndex = mModels.size(); in addModel() local
97 return modelIndex; in addModel()
/frameworks/ml/nn/common/
DValidateHal.cpp868 NN_RET_CHECK_LT(role.modelIndex, preparedModels.size()); in validateMemoryDesc()
869 const auto& preparedModel = preparedModels[role.modelIndex]; in validateMemoryDesc()
882 NN_RET_CHECK_LT(role.modelIndex, preparedModels.size()); in validateMemoryDesc()
883 const auto& preparedModel = preparedModels[role.modelIndex]; in validateMemoryDesc()