yeandy commented on code in PR #21868:
URL: https://github.com/apache/beam/pull/21868#discussion_r898299214


##########
sdks/python/apache_beam/ml/inference/pytorch_inference.py:
##########
@@ -190,6 +194,10 @@ def run_inference(
     For the same key across all examples, this will stack all Tensors values
     in a vectorized format to optimize the inference call.
 
+    Args:
+      batch: A sequence of Tensors.
+      model: A pytorch model.

Review Comment:
   Anand and I review this. @ryanthompson591 Not sure if/when you are reviewing 
my suggestions, but they have just been updated.



##########
sdks/python/apache_beam/ml/inference/pytorch_inference.py:
##########
@@ -103,6 +106,13 @@ def run_inference(
 
     This method stacks the list of Tensors in a vectorized format to optimize
     the inference call.
+
+    Args:
+      batch: A sequence of Tensors.
+      model: A pytorch model.

Review Comment:
   Anand and I review this. @ryanthompson591 Not sure if/when you are reviewing 
my suggestions, but they have just been updated.



-- 
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]

Reply via email to