Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/common/
DGraphDump.cpp128 void tryValueDump(Dumper& dump, const Model& model, const Operand& opnd) { in tryValueDump() argument
129 if (opnd.type != nnType) { in tryValueDump()
134 if (opnd.lifetime == Operand::LifeTime::CONSTANT_COPY) { in tryValueDump()
135 pointer = model.operandValues.data() + opnd.location.offset; in tryValueDump()
136 } else if (opnd.lifetime == Operand::LifeTime::POINTER) { in tryValueDump()
137 pointer = std::get<const void*>(opnd.location.pointer); in tryValueDump()
142 if (opnd.location.length != sizeof(cppType)) { in tryValueDump()
185 const Operand& opnd = model.main.operands[i]; in graphDump() local
188 switch (opnd.lifetime) { in graphDump()
221 dump << "\\n" << translate(opnd.type); in graphDump()
[all …]
/packages/modules/NeuralNetworks/runtime/test/
DTestPartitioning.cpp690 uint32_t opnd = addOperand(WrapperType::INT32); in addIntScalarOperand() local
692 setOperandValue(opnd, &v.value()); in addIntScalarOperand()
694 return opnd; in addIntScalarOperand()
706 uint32_t opnd = addFloatOperand(dimensioned); in addFloatZeroOperand() local
712 setOperandValue(opnd, values.data(), size); in addFloatZeroOperand()
713 return opnd; in addFloatZeroOperand()