File tree Expand file tree Collapse file tree
sdks/python/apache_beam/ml/inference Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,10 +100,9 @@ def __init__(
100100
101101 Args:
102102 model_uri (str): path to the trained model.
103- model_type (ModelType): type of model to be loaded.
104- Defaults to SAVED_MODEL.
105- inference_fn (TensorInferenceFn, Optional): inference function to use
106- during RunInference. Defaults to default_numpy_inference_fn.
103+ model_type: type of model to be loaded. Defaults to SAVED_MODEL.
104+ inference_fn: inference function to use during RunInference.
105+ Defaults to default_numpy_inference_fn.
107106
108107 **Supported Versions:** RunInference APIs in Apache Beam have been tested
109108 with Tensorflow 2.9, 2.10, 2.11.
@@ -182,10 +181,10 @@ def __init__(
182181
183182 Args:
184183 model_uri (str): path to the trained model.
185- model_type (ModelType) : type of model to be loaded.
184+ model_type: type of model to be loaded.
186185 Defaults to SAVED_MODEL.
187- inference_fn (TensorInferenceFn, Optional) : inference function to use
188- during RunInference. Defaults to default_numpy_inference_fn.
186+ inference_fn: inference function to use during RunInference.
187+ Defaults to default_numpy_inference_fn.
189188
190189 **Supported Versions:** RunInference APIs in Apache Beam have been tested
191190 with Tensorflow 2.11.
You can’t perform that action at this time.
0 commit comments