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
868cea8f
Commit
868cea8f
authored
Nov 01, 2020
by
vishnubanna
Browse files
fixed distribution item
parent
47545935
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
orbit/utils/common.py
orbit/utils/common.py
+1
-2
No files found.
orbit/utils/common.py
View file @
868cea8f
...
@@ -82,8 +82,7 @@ def make_distributed_dataset(strategy, dataset_or_fn, *args, **kwargs):
...
@@ -82,8 +82,7 @@ def make_distributed_dataset(strategy, dataset_or_fn, *args, **kwargs):
kwargs
[
"input_context"
]
=
input_context
kwargs
[
"input_context"
]
=
input_context
return
dataset_or_fn
(
*
args
,
**
kwargs
)
return
dataset_or_fn
(
*
args
,
**
kwargs
)
return
strategy
.
experimental_distribute_datasets_from_function
(
dataset_fn
)
return
strategy
.
distribute_datasets_from_function
(
dataset_fn
)
#return strategy.distribute_datasets_from_function(dataset_fn)
def
get_value
(
x
):
def
get_value
(
x
):
...
...
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