"git@developer.sourcefind.cn:wangsen/mineru.git" did not exist on "97e11346e5a75a2ee65afc2be369191c5505f66a"
Commit b67fc81e authored by Dinghua Li's avatar Dinghua Li Committed by A. Unique TensorFlower
Browse files

orbit.make_distributed_dataset: mention the special keyword `input_options` in the docstring.

PiperOrigin-RevId: 404623863
parent 13d1e402
...@@ -54,7 +54,9 @@ def make_distributed_dataset(strategy, dataset_or_fn, *args, **kwargs): ...@@ -54,7 +54,9 @@ def make_distributed_dataset(strategy, dataset_or_fn, *args, **kwargs):
an argument named `input_context` which will be passed a an argument named `input_context` which will be passed a
`tf.distribute.InputContext` instance. `tf.distribute.InputContext` instance.
*args: Any positional arguments to pass through to `dataset_or_fn`. *args: Any positional arguments to pass through to `dataset_or_fn`.
**kwargs: Any keyword arguments to pass through to `dataset_or_fn`. **kwargs: Any keyword arguments to pass through to `dataset_or_fn`, except
that the `input_options` keyword is used to specify a
`tf.distribute.InputOptions` for making the distributed dataset.
Returns: Returns:
A distributed Dataset. A distributed Dataset.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment