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
d2603f4d
Commit
d2603f4d
authored
Dec 11, 2019
by
Michał Karzyński
Committed by
Scott Cyphers
Dec 11, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add second decompose pass to INTERPRETER backend (#4036)
parent
e786fcfe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
int_executable.cpp
src/ngraph/runtime/interpreter/int_executable.cpp
+2
-1
unit_test.manifest
src/ngraph/runtime/interpreter/unit_test.manifest
+0
-5
No files found.
src/ngraph/runtime/interpreter/int_executable.cpp
View file @
d2603f4d
...
...
@@ -25,7 +25,6 @@
#include "ngraph/pass/like_replacement.hpp"
#include "ngraph/pass/liveness.hpp"
#include "ngraph/pass/manager.hpp"
#include "ngraph/pass/memory_layout.hpp"
#include "ngraph/pass/opset0_downgrade.hpp"
#include "ngraph/runtime/backend_manager.hpp"
#include "ngraph/runtime/chrome_trace.hpp"
...
...
@@ -69,6 +68,8 @@ runtime::interpreter::INTExecutable::INTExecutable(const shared_ptr<Function>& f
pass_manager
.
register_pass
<
pass
::
LikeReplacement
>
();
pass_manager
.
register_pass
<
pass
::
FusedOpDecomposition
>
();
pass_manager
.
register_pass
<
pass
::
Opset0Downgrade
>
();
// Need to decompose any v0 fused ops, which were produced by the downgrade pass
pass_manager
.
register_pass
<
pass
::
FusedOpDecomposition
>
();
pass_manager
.
register_pass
<
pass
::
AssignLayout
<
DenseTensorLayout
>>
();
pass_manager
.
register_pass
<
pass
::
Liveness
>
();
pass_manager
.
run_passes
(
m_function
);
...
...
src/ngraph/runtime/interpreter/unit_test.manifest
View file @
d2603f4d
...
...
@@ -22,8 +22,3 @@ top_k_opset_11_const_k_smallest
# Tile op case that the number of elements in "repeats" and shape of "data" are different
tile_3d_small_data_rank
tile_3d_few_repeats
# Another fused op decomposition pass required after the downgrade pass
model_split_equal_parts_default
model_split_equal_parts_2d
model_split_variable_parts_2d
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