Skip to content

Commit 627fdd9

Browse files
committed
fix doc
1 parent 2556534 commit 627fdd9

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

sdks/python/apache_beam/ml/inference/tensorflow_inference.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)