riteshghorse commented on code in PR #28228:
URL: https://github.com/apache/beam/pull/28228#discussion_r1311707668


##########
sdks/python/apache_beam/ml/inference/base.py:
##########
@@ -318,7 +331,7 @@ def __init__(
     # of this map should last as long as the corresponding entry in _tag_map.
     self._proxy_map: Dict[str, multi_process_shared.MultiProcessShared] = {}
 
-  def load(self, key: str) -> str:
+  def load(self, key: str) -> _ModelLoadStats:

Review Comment:
   Should we change the doc for Return to `_ModelLoadStats with tag, byte size 
and latency to load the model`



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