Skip to content

Commit

Permalink
Add PyDoc buttons to the top and bottom of the Machine Learning page (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
rszper authored Aug 8, 2022
1 parent 17fb9c0 commit 1f2186d
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ limitations under the License.

# Machine Learning

{{< button-pydoc path="apache_beam.ml.inference" class="RunInference" >}}

You can use Apache Beam with the RunInference API to use machine learning (ML) models to do local and remote inference with batch and streaming pipelines. Starting with Apache Beam 2.40.0, PyTorch and Scikit-learn frameworks are supported. You can create multiple types of transforms using the RunInference API: the API takes multiple types of setup parameters from model handlers, and the parameter type determines the model implementation.

## Why use the RunInference API?
Expand Down Expand Up @@ -202,4 +204,5 @@ Disable batching by overriding the `batch_elements_kwargs` function in your Mode

* [RunInference transforms](/documentation/transforms/python/elementwise/runinference)
* [RunInference API pipeline examples](https://github.com/apache/beam/tree/master/sdks/python/apache_beam/examples/inference)
* [apache_beam.ml.inference package](/releases/pydoc/current/apache_beam.ml.inference.html#apache_beam.ml.inference.RunInference)

{{< button-pydoc path="apache_beam.ml.inference" class="RunInference" >}}

0 comments on commit 1f2186d

Please sign in to comment.