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
6ac8ca60
Commit
6ac8ca60
authored
Oct 09, 2020
by
Hongkun Yu
Committed by
A. Unique TensorFlower
Oct 09, 2020
Browse files
Fix doc string after the code is updated.
PiperOrigin-RevId: 336339472
parent
571880ce
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
official/core/base_trainer.py
official/core/base_trainer.py
+1
-2
No files found.
official/core/base_trainer.py
View file @
6ac8ca60
...
...
@@ -74,8 +74,7 @@ class Trainer(orbit.StandardTrainer, orbit.StandardEvaluator):
Args:
config: An `ExperimentConfig` instance specifying experiment config.
task: A base_task.Task instance.
model: tf.keras.Model instance. If provided, it will be used instead of
building model using task.build_model(). Default to None.
model: The model instance, e.g. a tf.keras.Model instance.
optimizer: tf.optimizers.Optimizer instance.
train: bool, whether or not this trainer will be used for training.
default to True.
...
...
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