Home
last modified time | relevance | path

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

/frameworks/ml/nn/common/
DGraphDump.cpp126 void tryValueDump(Dumper& dump, const Model& model, const Operand& opnd) { in tryValueDump() argument
127 if (opnd.type != nnType || opnd.lifetime != OperandLifeTime::CONSTANT_COPY || in tryValueDump()
128 opnd.location.length != sizeof(cppType)) { in tryValueDump()
133 memcpy(&val, &model.operandValues[opnd.location.offset], sizeof(cppType)); in tryValueDump()
171 const Operand& opnd = model.main.operands[i]; in graphDump() local
174 switch (opnd.lifetime) { in graphDump()
204 dump << "\\n" << translate(opnd.type); in graphDump()
205 tryValueDump<OperandType::FLOAT32, float>(dump, model, opnd); in graphDump()
206 tryValueDump<OperandType::INT32, int>(dump, model, opnd); in graphDump()
207 tryValueDump<OperandType::UINT32, unsigned>(dump, model, opnd); in graphDump()
[all …]
/frameworks/compile/libbcc/bcinfo/
DMetadataExtractor.cpp71 llvm::Metadata *opnd; in createStringFromOptionalValue() local
72 if (opndNum >= n->getNumOperands() || !(opnd = n->getOperand(opndNum))) in createStringFromOptionalValue()
74 return createStringFromValue(opnd); in createStringFromOptionalValue()