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
a7bf2b41
Commit
a7bf2b41
authored
Apr 22, 2022
by
Denali Molitor
Committed by
A. Unique TensorFlower
Apr 22, 2022
Browse files
Add transformer and BERT benchmarks for Tensor Tracer.
PiperOrigin-RevId: 443751793
parent
7dbedf73
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
official/benchmark/base_benchmark.py
official/benchmark/base_benchmark.py
+3
-1
official/benchmark/benchmark_definitions.py
official/benchmark/benchmark_definitions.py
+3
-0
No files found.
official/benchmark/base_benchmark.py
View file @
a7bf2b41
...
@@ -73,7 +73,9 @@ class BaseBenchmark( # pylint: disable=undefined-variable
...
@@ -73,7 +73,9 @@ class BaseBenchmark( # pylint: disable=undefined-variable
_benchmark_parameters
=
_get_benchmark_params
(
_benchmark_parameters
=
_get_benchmark_params
(
benchmark_definitions
.
VISION_BENCHMARKS
)
+
_get_benchmark_params
(
benchmark_definitions
.
VISION_BENCHMARKS
)
+
_get_benchmark_params
(
benchmark_definitions
.
NLP_BENCHMARKS
)
+
_get_benchmark_params
(
benchmark_definitions
.
NLP_BENCHMARKS
)
+
_get_benchmark_params
(
benchmark_definitions
.
QAT_BENCHMARKS
,
True
)
benchmark_definitions
.
QAT_BENCHMARKS
,
True
)
+
_get_benchmark_params
(
benchmark_definitions
.
TENSOR_TRACER_BENCHMARKS
)
def
__init__
(
self
,
def
__init__
(
self
,
output_dir
=
None
,
output_dir
=
None
,
...
...
official/benchmark/benchmark_definitions.py
View file @
a7bf2b41
...
@@ -53,3 +53,6 @@ NLP_BENCHMARKS = {
...
@@ -53,3 +53,6 @@ NLP_BENCHMARKS = {
QAT_BENCHMARKS
=
{
QAT_BENCHMARKS
=
{
}
}
TENSOR_TRACER_BENCHMARKS
=
{
}
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