You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/07/15 17:47:20 UTC
[GitHub] [beam] tvalentyn commented on a diff in pull request #22282: [21894] Validates inference_args early
tvalentyn commented on code in PR #22282:
URL: https://github.com/apache/beam/pull/22282#discussion_r922393191
##########
sdks/python/apache_beam/ml/inference/base.py:
##########
@@ -384,6 +401,7 @@ def setup(self):
self._model = self._load_model()
def process(self, batch, inference_args):
+ self._model_handler.validate_inference_args(inference_args)
Review Comment:
so in this scenario, validation is still done at pipeline execution?
--
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