yeandy commented on code in PR #17470:
URL: https://github.com/apache/beam/pull/17470#discussion_r878171406
##########
sdks/python/apache_beam/ml/inference/base_test.py:
##########
@@ -39,7 +41,12 @@ class FakeInferenceRunner(base.InferenceRunner):
def __init__(self, clock=None):
self._mock_clock = clock
- def run_inference(self, batch: Any, model: Any) -> Iterable[Any]:
+ def run_inference(
+ self,
+ batch: Any,
+ model: Any,
+ prediction_params: Optional[Dict[str, Any]] = None,
Review Comment:
Ah I see, thanks for the clarification. I was thinking of something else,
hence the misunderstanding. I've added `kwargs` to support generalizability.
--
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]