Home
last modified time | relevance | path

Searched refs:requestArgument (Results 1 – 7 of 7) sorted by relevance

/packages/modules/NeuralNetworks/tools/test_generator/test_harness/
DTestUtils.cpp160 Request::Argument requestArgument; in createRequest() local
163 requestArgument = {.lifetime = Request::Argument::LifeTime::NO_VALUE}; in createRequest()
167 requestArgument = {.lifetime = Request::Argument::LifeTime::POINTER, in createRequest()
171 inputs.push_back(std::move(requestArgument)); in createRequest()
/packages/modules/NeuralNetworks/common/
DValidateHal.cpp764 const V1_0::RequestArgument& requestArgument = requestArguments[requestArgumentIndex]; in validateRequestArguments() local
765 const V1_0::DataLocation& location = requestArgument.location; in validateRequestArguments()
771 if (requestArgument.hasNoValue) { in validateRequestArguments()
773 requestArgument.dimensions.size() != 0) { in validateRequestArguments()
785 uint32_t requestRank = requestArgument.dimensions.size(); in validateRequestArguments()
814 if (modelRank != 0 && requestArgument.dimensions[i] != operand.dimensions[i] && in validateRequestArguments()
818 << " has dimension " << i << " of " << requestArgument.dimensions[i] in validateRequestArguments()
822 if (requestArgument.dimensions[i] == 0 && !allowUnspecified) { in validateRequestArguments()
DLegacyHalUtils.cpp1576 Request::Argument uncheckedConvert(const V1_0::RequestArgument& requestArgument) { in uncheckedConvert() argument
1577 return handleError(unvalidatedConvert(requestArgument)); in uncheckedConvert()
1731 V1_0::RequestArgument convertToV1_0(const Request::Argument& requestArgument) { in convertToV1_0() argument
1732 return handleError(V1_0::utils::unvalidatedConvert(requestArgument)); in convertToV1_0()
/packages/modules/NeuralNetworks/common/types/src/
DValidation.cpp1022 Result<Version> validateRequestArgument(const Request::Argument& requestArgument, in validateRequestArgument() argument
1024 const auto lifetime = requestArgument.lifetime; in validateRequestArgument()
1025 const auto& location = requestArgument.location; in validateRequestArgument()
1026 const auto& dimensions = requestArgument.dimensions; in validateRequestArgument()
1159 const Request::Argument& requestArgument = requestArguments[requestArgumentIndex]; in validateRequestArgumentsForModel() local
1165 if (requestArgument.lifetime != Request::Argument::LifeTime::NO_VALUE) { in validateRequestArgumentsForModel()
1169 uint32_t requestRank = requestArgument.dimensions.size(); in validateRequestArgumentsForModel()
1201 requestArgument.dimensions[i] == operand.dimensions[i]) in validateRequestArgumentsForModel()
1203 << " has dimension " << i << " of " << requestArgument.dimensions[i] in validateRequestArgumentsForModel()
1205 if (requestArgument.dimensions[i] == 0) { in validateRequestArgumentsForModel()
[all …]
DTypeUtils.cpp691 std::ostream& operator<<(std::ostream& os, const Request::Argument& requestArgument) { in operator <<() argument
692 return os << "Request::Argument{.lifetime=" << requestArgument.lifetime in operator <<()
693 << ", .location=" << requestArgument.location in operator <<()
694 << ", .dimensions=" << requestArgument.dimensions << "}"; in operator <<()
/packages/modules/NeuralNetworks/common/include/
DLegacyHalUtils.h358 Request::Argument uncheckedConvert(const V1_0::RequestArgument& requestArgument);
380 V1_0::RequestArgument convertToV1_0(const Request::Argument& requestArgument);
/packages/modules/NeuralNetworks/common/types/include/nnapi/
DTypeUtils.h127 std::ostream& operator<<(std::ostream& os, const Request::Argument& requestArgument);