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
7351c164
Commit
7351c164
authored
Apr 09, 2020
by
Hongkun Yu
Committed by
A. Unique TensorFlower
Apr 09, 2020
Browse files
move perfzero benchmark to benchmark/
PiperOrigin-RevId: 305709689
parent
84165751
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
6 additions
and
8 deletions
+6
-8
official/benchmark/bert_benchmark_utils.py
official/benchmark/bert_benchmark_utils.py
+1
-1
official/benchmark/keras_benchmark.py
official/benchmark/keras_benchmark.py
+1
-2
official/benchmark/perfzero_benchmark.py
official/benchmark/perfzero_benchmark.py
+0
-0
official/benchmark/resnet_ctl_imagenet_benchmark.py
official/benchmark/resnet_ctl_imagenet_benchmark.py
+1
-1
official/benchmark/shakespeare_benchmark.py
official/benchmark/shakespeare_benchmark.py
+1
-1
official/benchmark/tfhub_memory_usage_benchmark.py
official/benchmark/tfhub_memory_usage_benchmark.py
+1
-1
official/benchmark/transformer_benchmark.py
official/benchmark/transformer_benchmark.py
+1
-2
No files found.
official/benchmark/bert_benchmark_utils.py
View file @
7351c164
...
...
@@ -27,7 +27,7 @@ import tensorflow as tf
# pylint: enable=g-bad-import-order
from
official.utils.flags
import
core
as
flags_core
from
official.
utils.testing
.perfzero_benchmark
import
PerfZeroBenchmark
from
official.
benchmark
.perfzero_benchmark
import
PerfZeroBenchmark
FLAGS
=
flags
.
FLAGS
...
...
official/benchmark/keras_benchmark.py
View file @
7351c164
...
...
@@ -19,9 +19,8 @@ from __future__ import division
from
__future__
import
print_function
import
tensorflow
as
tf
from
official.benchmark.perfzero_benchmark
import
PerfZeroBenchmark
from
official.utils.flags
import
core
as
flags_core
from
official.utils.testing.perfzero_benchmark
import
PerfZeroBenchmark
class
KerasBenchmark
(
PerfZeroBenchmark
):
...
...
official/
utils/testing
/perfzero_benchmark.py
→
official/
benchmark
/perfzero_benchmark.py
View file @
7351c164
File moved
official/benchmark/resnet_ctl_imagenet_benchmark.py
View file @
7351c164
...
...
@@ -24,7 +24,7 @@ import tensorflow as tf
from
official.vision.image_classification.resnet
import
common
from
official.vision.image_classification.resnet
import
resnet_ctl_imagenet_main
from
official.
utils.testing
.perfzero_benchmark
import
PerfZeroBenchmark
from
official.
benchmark
.perfzero_benchmark
import
PerfZeroBenchmark
from
official.utils.testing
import
benchmark_wrappers
from
official.utils.flags
import
core
as
flags_core
...
...
official/benchmark/shakespeare_benchmark.py
View file @
7351c164
...
...
@@ -27,7 +27,7 @@ from official.benchmark.models.shakespeare import shakespeare_main
from
official.utils.flags
import
core
as
flags_core
from
official.utils.misc
import
keras_utils
from
official.utils.testing
import
benchmark_wrappers
from
official.
utils.testing
.perfzero_benchmark
import
PerfZeroBenchmark
from
official.
benchmark
.perfzero_benchmark
import
PerfZeroBenchmark
SHAKESPEARE_TRAIN_DATA
=
'shakespeare/shakespeare.txt'
TMP_DIR
=
os
.
getenv
(
'TMPDIR'
)
...
...
official/benchmark/tfhub_memory_usage_benchmark.py
View file @
7351c164
...
...
@@ -23,7 +23,7 @@ from absl import flags
import
tensorflow
as
tf
import
tensorflow_hub
as
hub
from
official.
utils.testing
.perfzero_benchmark
import
PerfZeroBenchmark
from
official.
benchmark
.perfzero_benchmark
import
PerfZeroBenchmark
FLAGS
=
flags
.
FLAGS
...
...
official/benchmark/transformer_benchmark.py
View file @
7351c164
...
...
@@ -22,12 +22,11 @@ import time
from
absl
import
flags
import
tensorflow
as
tf
from
official.benchmark.perfzero_benchmark
import
PerfZeroBenchmark
from
official.nlp.transformer
import
misc
from
official.nlp.transformer
import
transformer_main
as
transformer_main
from
official.utils.flags
import
core
as
flags_core
from
official.utils.testing
import
benchmark_wrappers
from
official.utils.testing.perfzero_benchmark
import
PerfZeroBenchmark
TRANSFORMER_EN2DE_DATA_DIR_NAME
=
'wmt32k-en2de-official'
EN2DE_2014_BLEU_DATA_DIR_NAME
=
'newstest2014'
...
...
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