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
368f3305
Commit
368f3305
authored
Mar 29, 2022
by
A. Unique TensorFlower
Browse files
Internal change
PiperOrigin-RevId: 438075627
parent
b3f57016
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
official/benchmark/resnet50_keras_core.py
official/benchmark/resnet50_keras_core.py
+8
-0
No files found.
official/benchmark/resnet50_keras_core.py
View file @
368f3305
...
...
@@ -111,6 +111,14 @@ class Resnet50KerasCoreBenchmark(perfzero_benchmark.PerfZeroBenchmark):
max_wall_time
=
max
(
wall_times
)
self
.
report_benchmark
(
iters
=-
1
,
wall_time
=
max_wall_time
)
def
benchmark_1_gpu_min_3
(
self
):
num_trials
=
3
wall_times
=
[]
for
_
in
range
(
num_trials
):
wall_times
.
append
(
_run_benchmark
())
min_wall_time
=
min
(
wall_times
)
self
.
report_benchmark
(
iters
=-
1
,
wall_time
=
min_wall_time
)
def
benchmark_1_gpu_med_3
(
self
):
num_trials
=
3
wall_times
=
[]
...
...
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