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
b4c2aa86
"docs/vscode:/vscode.git/clone" did not exist on "572cd2e227fd0f1107d088676942ae7d39e676ce"
Commit
b4c2aa86
authored
Mar 01, 2021
by
A. Unique TensorFlower
Browse files
Internal change
PiperOrigin-RevId: 360263748
parent
2468d2eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
official/benchmark/resnet_ctl_imagenet_benchmark.py
official/benchmark/resnet_ctl_imagenet_benchmark.py
+16
-0
No files found.
official/benchmark/resnet_ctl_imagenet_benchmark.py
View file @
b4c2aa86
...
@@ -453,6 +453,22 @@ class Resnet50CtlBenchmarkBase(CtlBenchmark):
...
@@ -453,6 +453,22 @@ class Resnet50CtlBenchmarkBase(CtlBenchmark):
tf
.
config
.
experimental
.
enable_mlir_bridge
()
tf
.
config
.
experimental
.
enable_mlir_bridge
()
self
.
_run_and_report_benchmark
()
self
.
_run_and_report_benchmark
()
def
benchmark_8x8_tpu
(
self
):
self
.
_setup
()
self
.
_set_df_common
()
FLAGS
.
batch_size
=
8192
FLAGS
.
model_dir
=
self
.
_get_model_dir
(
'benchmark_8x8_tpu'
)
self
.
_run_and_report_benchmark
()
@
owner_utils
.
Owner
(
'tf-graph-compiler'
)
def
benchmark_8x8_tpu_mlir
(
self
):
self
.
_setup
()
self
.
_set_df_common
()
FLAGS
.
batch_size
=
8192
FLAGS
.
model_dir
=
self
.
_get_model_dir
(
'benchmark_8x8_tpu_mlir'
)
tf
.
config
.
experimental
.
enable_mlir_bridge
()
self
.
_run_and_report_benchmark
()
def
benchmark_8x16_tpu_bf16
(
self
):
def
benchmark_8x16_tpu_bf16
(
self
):
self
.
_setup
()
self
.
_setup
()
self
.
_set_df_common
()
self
.
_set_df_common
()
...
...
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