Skip to content

Commit

Permalink
Update src/python/library/tritonclient/http/_infer_input.py
Browse files Browse the repository at this point in the history
Co-authored-by: Ryan McCormick <[email protected]>
  • Loading branch information
yinggeh and rmccorm4 authored Jul 31, 2024
1 parent 2a5c507 commit 6b56c3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/python/library/tritonclient/http/_infer_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ def validate_data(self):
-------
None
"""
# Input must set only one of the following fields: 'data', 'binary_data_size'
# in 'parameters', 'shared_memory_region' in 'parameters'
# Input must set only one of the following fields: 'data', 'binary_data_size',
# 'shared_memory_region' in 'parameters'
cnt = 0
cnt += self._data != None
cnt += "binary_data_size" in self._parameters
Expand Down

0 comments on commit 6b56c3b

Please sign in to comment.