Lines Matching refs:request
425 // Validates the arguments of a request. type is either "input" or "output" and is used
433 // The request should specify as many arguments as were described in the model.
468 << " set to 0 but the request does specify the dimension.";
502 static bool validateRequestVersioned(const Request& request, const VersionedModel& model) {
503 return (validateRequestArguments(request.inputs, model.inputIndexes, model.operands,
504 request.pools, "input") &&
505 validateRequestArguments(request.outputs, model.outputIndexes, model.operands,
506 request.pools, "output") &&
507 validatePools(request.pools));
510 bool validateRequest(const Request& request, const V1_0::Model& model) {
511 return validateRequestVersioned(request, model);
514 bool validateRequest(const Request& request, const V1_1::Model& model) {
515 return validateRequestVersioned(request, model);