Searched refs:requestArgument (Results 1 – 7 of 7) sorted by relevance
160 Request::Argument requestArgument; in createRequest() local163 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()
764 const V1_0::RequestArgument& requestArgument = requestArguments[requestArgumentIndex]; in validateRequestArguments() local765 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()
1576 Request::Argument uncheckedConvert(const V1_0::RequestArgument& requestArgument) { in uncheckedConvert() argument1577 return handleError(unvalidatedConvert(requestArgument)); in uncheckedConvert()1731 V1_0::RequestArgument convertToV1_0(const Request::Argument& requestArgument) { in convertToV1_0() argument1732 return handleError(V1_0::utils::unvalidatedConvert(requestArgument)); in convertToV1_0()
1022 Result<Version> validateRequestArgument(const Request::Argument& requestArgument, in validateRequestArgument() argument1024 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() local1165 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 …]
691 std::ostream& operator<<(std::ostream& os, const Request::Argument& requestArgument) { in operator <<() argument692 return os << "Request::Argument{.lifetime=" << requestArgument.lifetime in operator <<()693 << ", .location=" << requestArgument.location in operator <<()694 << ", .dimensions=" << requestArgument.dimensions << "}"; in operator <<()
358 Request::Argument uncheckedConvert(const V1_0::RequestArgument& requestArgument);380 V1_0::RequestArgument convertToV1_0(const Request::Argument& requestArgument);
127 std::ostream& operator<<(std::ostream& os, const Request::Argument& requestArgument);