You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "damccorm (via GitHub)" <gi...@apache.org> on 2023/04/24 17:04:35 UTC
[GitHub] [beam] damccorm commented on issue #24334: [Task]: Update RunInference Notebooks to use Custom Inference Functions
damccorm commented on issue #24334:
URL: https://github.com/apache/beam/issues/24334#issuecomment-1520531971
It depends on the model handler, but for PyTorchTensor its `make_tensor_model_fn` - https://github.com/apache/beam/blob/fbc7df425cd0cdd3e5e1dca05601f7b023dbed96/sdks/python/apache_beam/ml/inference/pytorch_inference.py#L154
Roughly they should all follow the `make_<something>_fn` pattern
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org