Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
dd463cb7
Commit
dd463cb7
authored
Oct 20, 2021
by
Dinghua Li
Committed by
A. Unique TensorFlower
Oct 20, 2021
Browse files
orbit.make_distributed_dataset: mention the special keyword `input_options` in the docstring.
PiperOrigin-RevId: 404623863
parent
4cac5784
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
orbit/utils/common.py
orbit/utils/common.py
+3
-1
No files found.
orbit/utils/common.py
View file @
dd463cb7
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment