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
7cdb82e3
Commit
7cdb82e3
authored
May 14, 2020
by
Chen Chen
Committed by
A. Unique TensorFlower
May 14, 2020
Browse files
Deprecate run_customized_training_loop() method.
PiperOrigin-RevId: 311577663
parent
93f8a8aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
official/nlp/bert/model_training_utils.py
official/nlp/bert/model_training_utils.py
+3
-0
No files found.
official/nlp/bert/model_training_utils.py
View file @
7cdb82e3
...
...
@@ -24,6 +24,7 @@ import tempfile
from
absl
import
logging
import
tensorflow
as
tf
from
tensorflow.python.util
import
deprecation
from
official.staging.training
import
grad_utils
from
official.utils.misc
import
distribution_utils
...
...
@@ -97,6 +98,8 @@ def write_txt_summary(training_summary, summary_dir):
f
.
write
(
json
.
dumps
(
training_summary
,
indent
=
4
))
@
deprecation
.
deprecated
(
None
,
'This function is deprecated. Please use Keras compile/fit instead.'
)
def
run_customized_training_loop
(
# pylint: disable=invalid-name
_sentinel
=
None
,
...
...
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