ryanthompson591 commented on code in PR #21868:
URL: https://github.com/apache/beam/pull/21868#discussion_r902751289
##########
sdks/python/apache_beam/ml/inference/base.py:
##########
@@ -91,24 +88,43 @@ def run_inference(
batch: Sequence[ExampleT],
model: ModelT,
inference_args: Optional[Dict[str, Any]] = None) ->
Iterable[PredictionT]:
- """Runs inferences on a batch of examples and
- returns an Iterable of Predictions."""
+ """Runs inferences on a batch of examples.
+
+ Args:
+ batch: A sequence of examples or features.
+ model: The model used to make inferences.
+
Review Comment:
resolved in https://github.com/apache/beam/pull/21921
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]