Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
ngraph
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ngraph
Commits
d8199edc
Unverified
Commit
d8199edc
authored
Feb 20, 2018
by
Jayaram Bobba
Committed by
GitHub
Feb 20, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into jmenon/mkldnn-compile
parents
fd869f1e
292ab46f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
cpu_emitter.cpp
src/ngraph/runtime/cpu/cpu_emitter.cpp
+1
-1
backend_performance.cpp
test/backend_performance.cpp
+4
-2
No files found.
src/ngraph/runtime/cpu/cpu_emitter.cpp
View file @
d8199edc
...
@@ -283,7 +283,7 @@ namespace ngraph
...
@@ -283,7 +283,7 @@ namespace ngraph
// define weights
// define weights
writer
<<
"std::vector<"
<<
args
[
0
].
get_element_type
().
c_type_string
()
writer
<<
"std::vector<"
<<
args
[
0
].
get_element_type
().
c_type_string
()
<<
">bn_weights(2);
\n
"
;
<<
">bn_weights(2
*"
<<
input_shape
[
1
]
<<
"
);
\n
"
;
auto
weights_shape
=
Shape
{
2
,
input_shape
[
1
]};
auto
weights_shape
=
Shape
{
2
,
input_shape
[
1
]};
// push gamma and beta
// push gamma and beta
...
...
test/backend_performance.cpp
View file @
d8199edc
...
@@ -155,13 +155,15 @@ TEST(benchmark, mxnet_seq2seq_backward)
...
@@ -155,13 +155,15 @@ TEST(benchmark, mxnet_seq2seq_backward)
TEST
(
benchmark
,
mxnet_sockeye_seq2seq_forward
)
TEST
(
benchmark
,
mxnet_sockeye_seq2seq_forward
)
{
{
const
string
json_path
=
file_util
::
path_join
(
SERIALIZED_ZOO
,
"mxnet/Sockeye_Seq2Seq_forward.json"
);
const
string
json_path
=
file_util
::
path_join
(
SERIALIZED_ZOO
,
"mxnet/Sockeye_Seq2Seq_forward.json"
);
run_benchmark
(
json_path
,
"CPU"
,
10
);
run_benchmark
(
json_path
,
"CPU"
,
10
);
}
}
TEST
(
benchmark
,
mxnet_sockeye_seq2seq_backward
)
TEST
(
benchmark
,
mxnet_sockeye_seq2seq_backward
)
{
{
const
string
json_path
=
file_util
::
path_join
(
SERIALIZED_ZOO
,
"mxnet/Sockeye_Seq2Seq_backward.json"
);
const
string
json_path
=
file_util
::
path_join
(
SERIALIZED_ZOO
,
"mxnet/Sockeye_Seq2Seq_backward.json"
);
run_benchmark
(
json_path
,
"CPU"
,
10
);
run_benchmark
(
json_path
,
"CPU"
,
10
);
}
}
...
...
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