Skip to content

Commit e8bb296

Browse files
Apply suggestions
Co-authored-by: Ashwin Vaidya <[email protected]>
1 parent f54afc3 commit e8bb296

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

model_api/python/model_api/adapters/inference_adapter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def get_raw_result(self, infer_result: dict) -> dict:
128128
"""Gets raw results from the internal inference framework representation as a dict.
129129
130130
Args:
131-
- infer_resul (dict): framework-specific result of inference from the model
131+
- infer_result (dict): framework-specific result of inference from the model
132132
133133
Returns:
134134
- raw result (dict) - model raw output in the following format:

model_api/python/model_api/models/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ def reshape(self, new_shape: dict):
437437
Reshapes the model inputs to fit the new input shape.
438438
439439
Args:
440-
new_shape (_type_): a dictionary with inputs names as keys and
440+
new_shape (dict): a dictionary with inputs names as keys and
441441
list of new shape as values in the following format.
442442
"""
443443
if self.model_loaded:

0 commit comments

Comments
 (0)