Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/
DExecutionPlan.h84 nnAssert(it != mOperandMap.end()); in recordTempAsSubModelOutput()
232 nnAssert(temporaryToDefiningStep.count(fromModelIndex) == 0); in recordTemporaryDef()
311 nnAssert(mState == COMPOUND); in compound()
315 nnAssert(mState == COMPOUND); in compound()
DExecutionPlan.cpp276 nnAssert(kind == INPUT); in addOperand()
363 nnAssert(false); in addOperand()
427 nnAssert(it != mTemporaryToDefiningStep.end()); in findTempsAsSubModelOutputs()
429 nnAssert(stepIndex < mSteps.size()); in findTempsAsSubModelOutputs()
495 nnAssert(mDevice != nullptr); in finishSubModel()
613 nnAssert(mDevice != nullptr); in finish()
622 nnAssert(mBody != nullptr); in finish()
683 nnAssert(isValid()); in makeController()
777 nnAssert(controller->mNextStepIndex == 0); // end in next()
797 nnAssert(controller->mNextStepIndex == 1); // end in next()
[all …]
DModelBuilder.cpp248 nnAssert(operand.lifetime == OperandLifeTime::CONSTANT_REFERENCE); in copyLargeValuesToSharedMemory()
DExecutionBuilder.cpp739 nnAssert(!"unexpected ModelArgumentInfo::state"); in mapInputOrOutput()
/frameworks/ml/nn/common/include/
DCpuOperationUtils.h34 nnAssert(shape.dimensions.size() <= 4); in convertShapeToDims()
55 nnAssert(shape.dimensions.size() <= 4); in convertShapeToTflshape()
DUtils.h82 #define nnAssert(v) CHECK(v) macro
/frameworks/ml/nn/common/
DOperationsUtils.cpp126 nnAssert(0 <= firstAxisInclusive); in getNumberOfElements()
127 nnAssert(firstAxisInclusive <= lastAxisExclusive); in getNumberOfElements()
128 nnAssert(lastAxisExclusive <= shape.dimensions.size()); in getNumberOfElements()
141 nnAssert(0 <= dimensionIdx && dimensionIdx < shape.dimensions.size()); in getSizeOfDimension()
DCpuExecutor.cpp596 nnAssert(poolIndex < modelPoolInfos.size()); in initializeRunTimeInfo()
609 nnAssert(false); in initializeRunTimeInfo()
619 nnAssert(indexes.size() == arguments.size()); in initializeRunTimeInfo()
634 nnAssert(to.buffer == nullptr); in initializeRunTimeInfo()
638 nnAssert(poolIndex < requestPoolInfos.size()); in initializeRunTimeInfo()
DUtils.cpp113 nnAssert(!"tableLookup: bad code"); in tableLookup()