Lines Matching refs:ModelArgumentInfo
35 static const std::pair<int, ModelArgumentInfo> kBadDataModelArgumentInfo{ANEURALNETWORKS_BAD_DATA,
38 std::pair<int, ModelArgumentInfo> ModelArgumentInfo::createFromPointer( in createFromPointer()
48 ModelArgumentInfo ret; in createFromPointer()
50 ret.mState = ModelArgumentInfo::HAS_NO_VALUE; in createFromPointer()
53 return {n, ModelArgumentInfo()}; in createFromPointer()
64 ret.mState = ModelArgumentInfo::POINTER; in createFromPointer()
71 std::pair<int, ModelArgumentInfo> ModelArgumentInfo::createFromMemory( in createFromMemory()
74 ModelArgumentInfo ret; in createFromMemory()
76 return {n, ModelArgumentInfo()}; in createFromMemory()
89 ret.mState = ModelArgumentInfo::MEMORY; in createFromMemory()
95 int ModelArgumentInfo::updateDimensionInfo(const Operand& operand, in updateDimensionInfo()
108 const std::vector<ModelArgumentInfo>& argumentInfos, in createRequestArguments()
116 case ModelArgumentInfo::POINTER: in createRequestArguments()
121 case ModelArgumentInfo::MEMORY: in createRequestArguments()
126 case ModelArgumentInfo::HAS_NO_VALUE: in createRequestArguments()