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
8f6b625a
"vscode:/vscode.git/clone" did not exist on "5d747e22b042553c4331413429fc43246e6136e9"
Commit
8f6b625a
authored
Jul 13, 2020
by
Allen Wang
Committed by
A. Unique TensorFlower
Jul 13, 2020
Browse files
Add in MLIR benchmarking for ResNet.
PiperOrigin-RevId: 321039601
parent
bbe5079e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
official/benchmark/resnet_ctl_imagenet_benchmark.py
official/benchmark/resnet_ctl_imagenet_benchmark.py
+9
-0
No files found.
official/benchmark/resnet_ctl_imagenet_benchmark.py
View file @
8f6b625a
...
...
@@ -389,6 +389,15 @@ class Resnet50CtlBenchmarkBase(CtlBenchmark):
FLAGS
.
dtype
=
'bf16'
self
.
_run_and_report_benchmark
()
@
owner_utils
.
Owner
(
'tf-graph-compiler'
)
def
benchmark_2x2_tpu_bf16_mlir
(
self
):
self
.
_setup
()
self
.
_set_df_common
()
FLAGS
.
batch_size
=
1024
FLAGS
.
dtype
=
'bf16'
tf
.
config
.
experimental
.
enable_mlir_bridge
()
self
.
_run_and_report_benchmark
()
def
benchmark_4x4_tpu_bf16
(
self
):
self
.
_setup
()
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