damccorm commented on code in PR #24062:
URL: https://github.com/apache/beam/pull/24062#discussion_r1021879194
##########
sdks/python/apache_beam/ml/inference/pytorch_inference.py:
##########
@@ -127,6 +127,31 @@ def default_tensor_inference_fn(
return _convert_to_result(batch, predictions)
+def make_tensor_model_fn(model_fn: str) -> TensorInferenceFn:
Review Comment:
Could we add tests for these `make_XYZ_fn` functions? Otherwise, LGTM
--
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]