Skip to content

Commit

Permalink
Update returns doc
Browse files Browse the repository at this point in the history
  • Loading branch information
damccorm authored Aug 31, 2023
1 parent 1c00f1a commit 001d49d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sdks/python/apache_beam/ml/inference/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,8 @@ def load(self, key: str) -> _ModelLoadStats:
Args:
key: the key associated with the model we'd like to load.
Returns:
the tag we can use to access the model using multi_process_shared.py.
_ModelLoadStats with tag, byte size, and latency to load the model. If
the model was already loaded, byte size/latency will be None.
"""
# Map the key for a model to a unique tag that will persist until the model
# is released. This needs to be unique between releasing/reacquiring th
Expand Down

0 comments on commit 001d49d

Please sign in to comment.