Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/
DMemory.cpp366 if (mOperand.has_value()) { in addRole()
367 if (operand.type != mOperand->type || operand.scale != mOperand->scale || in addRole()
368 operand.zeroPoint != mOperand->zeroPoint || in addRole()
369 operand.extraParams != mOperand->extraParams) { in addRole()
400 mOperand = std::move(operand); in addRole()
407 if (mOperand.has_value() && !TypeManager::get()->isTensorType(mOperand->type) && in setDimensions()
459 CHECK(mOperand.has_value()); in finish()
461 logMemoryDescriptorToInfo(mDesc, mOperand.value()); in finish()
481 const uint32_t size = TypeManager::get()->getSizeOfData(mOperand->type, mDesc.dimensions); in finish()
495 CHECK(mOperand.has_value()); in allocate()
[all …]
DMemory.h256 std::optional<hal::Operand> mOperand; variable