Home
last modified time | relevance | path

Searched refs:Argument (Results 1 – 18 of 18) sorted by relevance

/packages/modules/NeuralNetworks/runtime/
DModelArgumentInfo.cpp126 Request::Argument ModelArgumentInfo::createRequestArgument() const { in createRequestArgument()
129 Request::Argument arg = {.lifetime = Request::Argument::LifeTime::POINTER, in createRequestArgument()
136 return {.lifetime = Request::Argument::LifeTime::POOL, in createRequestArgument()
140 return {.lifetime = Request::Argument::LifeTime::NO_VALUE}; in createRequestArgument()
149 std::vector<Request::Argument> createRequestArguments( in createRequestArguments()
153 std::vector<Request::Argument> ioInfos(count); in createRequestArguments()
159 ioInfos[i] = {.lifetime = Request::Argument::LifeTime::POOL, in createRequestArguments()
DModelArgumentInfo.h108 Request::Argument createRequestArgument() const;
141 std::vector<Request::Argument> createRequestArguments(
/packages/modules/NeuralNetworks/runtime/test/
DTestCompliance.cpp161 .inputs = {{.lifetime = Request::Argument::LifeTime::POOL, in TEST_F()
164 .outputs = {{.lifetime = Request::Argument::LifeTime::POOL, in TEST_F()
174 .inputs = {{.lifetime = Request::Argument::LifeTime::POOL, in TEST_F()
177 .outputs = {{.lifetime = Request::Argument::LifeTime::POOL, in TEST_F()
196 .inputs = {{.lifetime = Request::Argument::LifeTime::POOL, in TEST_F()
199 .outputs = {{.lifetime = Request::Argument::LifeTime::POOL, in TEST_F()
209 .inputs = {{.lifetime = Request::Argument::LifeTime::POOL, in TEST_F()
212 .outputs = {{.lifetime = Request::Argument::LifeTime::POOL, in TEST_F()
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/
DTestUtils.cpp152 std::vector<Request::Argument> inputs; in createRequest()
160 Request::Argument requestArgument; in createRequest()
163 requestArgument = {.lifetime = Request::Argument::LifeTime::NO_VALUE}; in createRequest()
167 requestArgument = {.lifetime = Request::Argument::LifeTime::POINTER, in createRequest()
175 std::vector<Request::Argument> outputs; in createRequest()
194 outputs.push_back({.lifetime = Request::Argument::LifeTime::POOL, in createRequest()
/packages/modules/NeuralNetworks/common/types/src/
DSharedMemory.cpp37 bool hasNoPointerData(const Request::Argument& argument);
57 bool hasNoPointerData(const Request::Argument& argument) { in hasNoPointerData()
219 if (input.lifetime != Request::Argument::LifeTime::POINTER) { in convertRequestFromPointerToShared()
223 input.lifetime = Request::Argument::LifeTime::POOL; in convertRequestFromPointerToShared()
244 if (output.lifetime != Request::Argument::LifeTime::POINTER) { in convertRequestFromPointerToShared()
248 output.lifetime = Request::Argument::LifeTime::POOL; in convertRequestFromPointerToShared()
DTypeUtils.cpp439 std::ostream& operator<<(std::ostream& os, const Request::Argument::LifeTime& lifetime) { in operator <<()
441 case Request::Argument::LifeTime::POOL: in operator <<()
443 case Request::Argument::LifeTime::NO_VALUE: in operator <<()
445 case Request::Argument::LifeTime::POINTER: in operator <<()
691 std::ostream& operator<<(std::ostream& os, const Request::Argument& requestArgument) { in operator <<()
DValidation.cpp1022 Result<Version> validateRequestArgument(const Request::Argument& requestArgument, in validateRequestArgument()
1029 case Request::Argument::LifeTime::POOL: { in validateRequestArgument()
1043 case Request::Argument::LifeTime::NO_VALUE: in validateRequestArgument()
1051 case Request::Argument::LifeTime::POINTER: { in validateRequestArgument()
1147 const std::vector<Request::Argument>& requestArguments, in validateRequestArgumentsForModel()
1159 const Request::Argument& requestArgument = requestArguments[requestArgumentIndex]; in validateRequestArgumentsForModel()
1165 if (requestArgument.lifetime != Request::Argument::LifeTime::NO_VALUE) { in validateRequestArgumentsForModel()
/packages/modules/NeuralNetworks/driver/sample/
DCanonicalPreparedModel.cpp77 if (request.outputs[i].lifetime != Request::Argument::LifeTime::POOL) continue; in updateDeviceMemories()
87 if (request.outputs[i].lifetime != Request::Argument::LifeTime::POOL) continue; in updateDeviceMemories()
99 if (request.outputs[i].lifetime != Request::Argument::LifeTime::POOL) continue; in updateDeviceMemories()
260 if (output.lifetime != Request::Argument::LifeTime::POOL) continue; in executeFenced()
/packages/modules/NeuralNetworks/common/types/include/nnapi/
DTypes.h879 struct Argument { struct
932 std::vector<Argument> inputs;
941 std::vector<Argument> outputs;
DTypeUtils.h96 std::ostream& operator<<(std::ostream& os, const Request::Argument::LifeTime& lifetime);
127 std::ostream& operator<<(std::ostream& os, const Request::Argument& requestArgument);
/packages/modules/NeuralNetworks/common/
DHalBufferTracker.cpp68 if (request.inputs[i].lifetime != Request::Argument::LifeTime::POOL) continue; in validateRequest()
91 if (request.outputs[i].lifetime != Request::Argument::LifeTime::POOL) continue; in validateRequest()
DBufferTracker.cpp68 if (request.inputs[i].lifetime != Request::Argument::LifeTime::POOL) continue; in validateRequest()
90 if (request.outputs[i].lifetime != Request::Argument::LifeTime::POOL) continue; in validateRequest()
DCpuExecutor.cpp667 const std::vector<Request::Argument>& arguments, in updateForArguments()
673 const Request::Argument& from = arguments[i]; in updateForArguments()
684 case Request::Argument::LifeTime::NO_VALUE: { in updateForArguments()
690 case Request::Argument::LifeTime::POOL: { in updateForArguments()
703 case Request::Argument::LifeTime::POINTER: { in updateForArguments()
DLegacyHalUtils.cpp1576 Request::Argument uncheckedConvert(const V1_0::RequestArgument& requestArgument) { in uncheckedConvert()
1731 V1_0::RequestArgument convertToV1_0(const Request::Argument& requestArgument) { in convertToV1_0()
/packages/modules/NeuralNetworks/common/include/
DCpuExecutor.h167 const std::vector<Request::Argument>& arguments,
DLegacyHalUtils.h358 Request::Argument uncheckedConvert(const V1_0::RequestArgument& requestArgument);
380 V1_0::RequestArgument convertToV1_0(const Request::Argument& requestArgument);
/packages/modules/NeuralNetworks/tools/api/
Dtypes.spec7969 %{vec}<%{concat_or_skip_first Request Argument}> inputs;
7978 %{vec}<%{concat_or_skip_first Request Argument}> outputs;
8008 struct %{concat_or_skip_first Request Argument} {
/packages/inputmethods/LatinIME/dictionaries/
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...