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
966da7c2
Commit
966da7c2
authored
Sep 16, 2020
by
Hongkun Yu
Committed by
A. Unique TensorFlower
Sep 16, 2020
Browse files
Fix comments: allow_tpu_summary in a wrong cls
PiperOrigin-RevId: 332109420
parent
3b847220
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
official/modeling/hyperparams/config_definitions.py
official/modeling/hyperparams/config_definitions.py
+2
-2
No files found.
official/modeling/hyperparams/config_definitions.py
View file @
966da7c2
...
...
@@ -124,8 +124,6 @@ class RuntimeConfig(base_config.Config):
run_eagerly: Whether or not to run the experiment eagerly.
batchnorm_spatial_persistent: Whether or not to enable the spatial
persistent mode for CuDNN batch norm kernel for improved GPU performance.
allow_tpu_summary: Whether to allow summary happen inside the XLA program
runs on TPU through automatic outside compilation.
"""
distribution_strategy
:
str
=
"mirrored"
enable_xla
:
bool
=
False
...
...
@@ -188,6 +186,8 @@ class TrainerConfig(base_config.Config):
train_tf_while_loop: whether or not to use tf while loop.
train_tf_function: whether or not to use tf_function for training loop.
eval_tf_function: whether or not to use tf_function for eval.
allow_tpu_summary: Whether to allow summary happen inside the XLA program
runs on TPU through automatic outside compilation.
steps_per_loop: number of steps per loop.
summary_interval: number of steps between each summary.
checkpoint_interval: number of steps between checkpoints.
...
...
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