Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/
DExecutionPlan.cpp43 nnAssert(device != nullptr); // nullptr indicates CPU in compile()
142 nnAssert(kind == INPUT); in addOperand()
222 nnAssert(false); in addOperand()
283 nnAssert(it != mTemporaryToDefiningStep.end()); in findTempsAsSubModelOutputs()
285 nnAssert(stepIndex < mSteps.size()); in findTempsAsSubModelOutputs()
480 nnAssert(mBody != nullptr); in finish()
501 nnAssert((mState == EMPTY) == (mBody == nullptr)); in makeController()
595 nnAssert(controller->mNextStepIndex == 0); // end in next()
614 nnAssert(controller->mNextStepIndex == 1); // end in next()
701 nnAssert(mState != SIMPLE); in createNewStep()
[all …]
DExecutionPlan.h76 nnAssert(it != mOperandMap.end()); in recordTempAsSubModelOutput()
211 nnAssert(temporaryToDefiningStep.count(fromModelIndex) == 0); in recordTemporaryDef()
274 nnAssert(mState == COMPOUND); in compound()
278 nnAssert(mState == COMPOUND); in compound()
DExecutionBuilder.cpp98 nnAssert(dimensions.empty()); in updateDimensionInfo()
476 nnAssert(!"unexpected ModelArgumentInfo::state"); in mapInputOrOutput()
544 nnAssert(mDriver != nullptr); in startComputeOnDevice()
DModelBuilder.cpp142 nnAssert(operand.lifetime == OperandLifeTime::CONSTANT_REFERENCE); in copyLargeValuesToSharedMemory()
/frameworks/ml/nn/common/include/
DCpuOperationUtils.h30 nnAssert(shape.dimensions.size() <= 4); in convertShapeToDims()
DUtils.h79 #define nnAssert(v) \ macro
/frameworks/ml/nn/common/
DCpuExecutor.cpp252 nnAssert(poolIndex < modelPoolInfos.size()); in initializeRunTimeInfo()
265 nnAssert(false); in initializeRunTimeInfo()
274 nnAssert(indexes.size() == arguments.size()); in initializeRunTimeInfo()
289 nnAssert(to.buffer == nullptr); in initializeRunTimeInfo()
292 nnAssert(poolIndex < requestPoolInfos.size()); in initializeRunTimeInfo()
313 nnAssert(info.buffer != nullptr); in freeNoLongerUsedOperands()
1525 nnAssert(false); in executeOperation()
DUtils.cpp93 nnAssert(!"tableLookup: bad code"); in tableLookup()