Lines Matching refs:ModelArgumentInfo
33 static const std::pair<int, ModelArgumentInfo> kBadDataModelArgumentInfo{ANEURALNETWORKS_BAD_DATA,
36 std::pair<int, ModelArgumentInfo> ModelArgumentInfo::createFromPointer( in createFromPointer()
46 ModelArgumentInfo ret; in createFromPointer()
49 ret.mState = ModelArgumentInfo::HAS_NO_VALUE; in createFromPointer()
52 return {n, ModelArgumentInfo()}; in createFromPointer()
62 ret.mState = ModelArgumentInfo::POINTER; in createFromPointer()
79 std::pair<int, ModelArgumentInfo> ModelArgumentInfo::createFromMemory( in createFromMemory()
82 ModelArgumentInfo ret; in createFromMemory()
84 return {n, ModelArgumentInfo()}; in createFromMemory()
106 ret.mState = ModelArgumentInfo::MEMORY; in createFromMemory()
113 int ModelArgumentInfo::updateDimensionInfo(const Operand& operand, in updateDimensionInfo()
126 Request::Argument ModelArgumentInfo::createRequestArgument() const { in createRequestArgument()
128 case ModelArgumentInfo::POINTER: { in createRequestArgument()
135 case ModelArgumentInfo::MEMORY: in createRequestArgument()
139 case ModelArgumentInfo::HAS_NO_VALUE: in createRequestArgument()
141 case ModelArgumentInfo::UNSPECIFIED: in createRequestArgument()
150 const std::vector<ModelArgumentInfo>& argumentInfos, in createRequestArguments()
158 case ModelArgumentInfo::POINTER: in createRequestArguments()
163 case ModelArgumentInfo::MEMORY: in createRequestArguments()
164 case ModelArgumentInfo::HAS_NO_VALUE: in createRequestArguments()