yeandy commented on code in PR #21777:
URL: https://github.com/apache/beam/pull/21777#discussion_r894838238
##########
sdks/python/apache_beam/ml/inference/pytorch_inference.py:
##########
@@ -119,7 +119,7 @@ def run_inference(
predictions = model(batched_tensors, **prediction_params)
return [PredictionResult(x, y) for x, y in zip(batch, predictions)]
- def get_num_bytes(self, batch: List[torch.Tensor]) -> int:
Review Comment:
Do the same `Sequence` change for `sklearn_inference.py` lines 78, 89, 97,
116, 121
--
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]