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
4e175405
Commit
4e175405
authored
Sep 19, 2019
by
Robert Kimball
Committed by
Michał Karzyński
Sep 19, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove debug graphviz plots (#3623)
parent
6c89a91f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
concat_fusion.cpp
test/concat_fusion.cpp
+0
-10
No files found.
test/concat_fusion.cpp
View file @
4e175405
...
...
@@ -69,10 +69,8 @@ TEST(concat_fusion, single_branch)
auto
baseline_input_shape
=
baseline_f
->
get_parameters
().
at
(
0
)
->
get_shape
();
pass
::
Manager
pass_manager
;
pass_manager
.
register_pass
<
pass
::
VisualizeTree
>
(
"before_single_branch.png"
);
pass_manager
.
register_pass
<
pass
::
ConcatElimination
>
();
pass_manager
.
register_pass
<
pass
::
SelfConcatFusion
>
();
pass_manager
.
register_pass
<
pass
::
VisualizeTree
>
(
"after_single_branch.png"
);
pass_manager
.
run_passes
(
optimized_f
);
test
::
Uniform
<
float
>
rng
(
0.0
f
,
100.0
f
);
...
...
@@ -116,10 +114,8 @@ TEST(concat_fusion, multiple_branches_1)
auto
baseline_input_shape
=
baseline_f
->
get_parameters
().
at
(
0
)
->
get_shape
();
pass
::
Manager
pass_manager
;
pass_manager
.
register_pass
<
pass
::
VisualizeTree
>
(
"before_multiple_branches_1.png"
);
pass_manager
.
register_pass
<
pass
::
ConcatElimination
>
();
pass_manager
.
register_pass
<
pass
::
SelfConcatFusion
>
();
pass_manager
.
register_pass
<
pass
::
VisualizeTree
>
(
"after_multiple_branches_1.png"
);
pass_manager
.
run_passes
(
optimized_f
);
test
::
Uniform
<
float
>
rng
(
0.0
f
,
100.0
f
);
...
...
@@ -159,10 +155,8 @@ TEST(concat_fusion, multiple_branches_2)
auto
baseline_input_shape
=
baseline_f
->
get_parameters
().
at
(
0
)
->
get_shape
();
pass
::
Manager
pass_manager
;
pass_manager
.
register_pass
<
pass
::
VisualizeTree
>
(
"before_multiple_branches_2.png"
);
pass_manager
.
register_pass
<
pass
::
ConcatElimination
>
();
pass_manager
.
register_pass
<
pass
::
SelfConcatFusion
>
();
pass_manager
.
register_pass
<
pass
::
VisualizeTree
>
(
"after_multiple_branches_2.png"
);
pass_manager
.
run_passes
(
optimized_f
);
test
::
Uniform
<
float
>
rng
(
0.0
f
,
100.0
f
);
...
...
@@ -211,10 +205,8 @@ TEST(concat_fusion, non_fusable_self_concat)
auto
baseline_input_shape_2
=
baseline_f
->
get_parameters
().
at
(
1
)
->
get_shape
();
pass
::
Manager
pass_manager
;
pass_manager
.
register_pass
<
pass
::
VisualizeTree
>
(
"before_non_fusable_self_concat.png"
);
pass_manager
.
register_pass
<
pass
::
ConcatElimination
>
();
pass_manager
.
register_pass
<
pass
::
SelfConcatFusion
>
();
pass_manager
.
register_pass
<
pass
::
VisualizeTree
>
(
"after_non_fusable_self_concat.png"
);
pass_manager
.
run_passes
(
optimized_f
);
test
::
Uniform
<
float
>
rng
(
0.0
f
,
100.0
f
);
...
...
@@ -266,10 +258,8 @@ TEST(concat_fusion, self_concat_with_fan_out)
auto
baseline_input_shape_2
=
baseline_f
->
get_parameters
().
at
(
1
)
->
get_shape
();
pass
::
Manager
pass_manager
;
pass_manager
.
register_pass
<
pass
::
VisualizeTree
>
(
"before_self_concat_with_fan_out.png"
);
pass_manager
.
register_pass
<
pass
::
ConcatElimination
>
();
pass_manager
.
register_pass
<
pass
::
SelfConcatFusion
>
();
pass_manager
.
register_pass
<
pass
::
VisualizeTree
>
(
"after_self_concat_with_fan_out.png"
);
pass_manager
.
run_passes
(
optimized_f
);
test
::
Uniform
<
float
>
rng
(
0.0
f
,
100.0
f
);
...
...
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