Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
indrajit96 committed Mar 6, 2024
1 parent 4b0ab24 commit 8b13189
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/infer_request.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ InferenceRequest::Normalize()
}
// Make sure that the request is providing the number of inputs
// as is expected by the model.
RETURN_IF_ERROR(ValidateRequestInputs(model_config));
RETURN_IF_ERROR(ValidateRequestInputs());
// Determine the batch size and shape of each input.
if (model_config.max_batch_size() == 0) {
// Model does not support Triton-style batching so set as
Expand Down Expand Up @@ -1177,7 +1177,7 @@ InferenceRequest::Normalize()
Status
InferenceRequest::ValidateRequestInputs()
{

const inference::ModelConfig& model_config = model_raw_->Config();
if ((original_inputs_.size() > (size_t)model_config.input_size()) ||
(original_inputs_.size() < model_raw_->RequiredInputCount())) {
Expand Down

0 comments on commit 8b13189

Please sign in to comment.