Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
fpetrini15 committed Jan 3, 2024
1 parent c21fe5a commit 937da8b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/python/library/tritonclient/grpc/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ def _get_inference_request(
request.parameters[key].bool_param = value
elif isinstance(value, int):
request.parameters[key].int64_param = value
elif isinstance(value, float):
request.parameters[key].double_param = value
else:
raise_error(
f'The parameter datatype "{type(value)}" for key "{key}" is not supported.'
Expand Down

0 comments on commit 937da8b

Please sign in to comment.