[data][docs] fix broken links (#27818)

This commit is contained in:
matthewdeng 2022-08-12 11:17:34 -07:00 committed by GitHub
parent be92dd72d5
commit 58495fe594
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -246,7 +246,7 @@
"This will allow us to apply built-in preprocessors to the Ray Dataset and allow Ray Datasets to be used with Ray AIR Predictors.\n",
" <!-- and also means that any transformations done to the images can be done in a zero-copy fashion. -->\n",
"\n",
"For this example, since we are just working with MNIST dataset, which is small, we use the [`SimpleTorchDataSource`](https://docs.ray.io/en/master/data/package-ref.html?highlight=SimpleTorchDatasource#ray.data.datasource.SimpleTorchDatasource) which just loads the full MNIST dataset into memory.\n",
"For this example, since we are just working with MNIST dataset, which is small, we use the {py:class}`~ray.data.datasource.SimpleTorchDatasource` which just loads the full MNIST dataset into memory.\n",
"\n",
"For loading larger datasets in a parallel fashion, you should use [Ray Dataset's additional read APIs](https://docs.ray.io/en/master/data/dataset.html#supported-input-formats) to load data from parquet, csv, image files, and more!"
]

View file

@ -56,7 +56,7 @@ class ActorGroupMethod:
f"in https://docs.ray.io/en/{get_ray_doc_version()}/ray-more-libs/multiprocessing.html. " # noqa: E501
"For stateful/actor processing such as batch prediction, use "
"Datasets.map_batches(compute=ActorPoolStrategy, ...), see details in "
f"https://docs.ray.io/en/{get_ray_doc_version()}/data/package-ref.html#ray.data.Dataset.map_batches." # noqa: E501
f"https://docs.ray.io/en/{get_ray_doc_version()}/data/api/dataset.html#ray.data.Dataset.map_batches." # noqa: E501
)
class ActorGroup:
"""Group of Ray Actors that can execute arbitrary functions.

View file

@ -10,7 +10,7 @@ from ray._private.utils import get_ray_doc_version
f"in https://docs.ray.io/en/{get_ray_doc_version()}/ray-more-libs/multiprocessing.html. " # noqa: E501
"For stateful/actor processing such as batch prediction, use "
"Datasets.map_batches(compute=ActorPoolStrategy, ...), see details in "
f"https://docs.ray.io/en/{get_ray_doc_version()}/data/package-ref.html#ray.data.Dataset.map_batches." # noqa: E501
f"https://docs.ray.io/en/{get_ray_doc_version()}/data/api/dataset.html#ray.data.Dataset.map_batches." # noqa: E501
)
@PublicAPI(stability="beta")
class ActorPool: