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
800d5f14
Commit
800d5f14
authored
Jan 14, 2019
by
nikolay.korovaiko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move extern decls to header
parent
c5dbd490
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
14 deletions
+16
-14
reshape_sinking.cpp
src/ngraph/pass/reshape_sinking.cpp
+0
-14
reshape_sinking.hpp
src/ngraph/pass/reshape_sinking.hpp
+16
-0
No files found.
src/ngraph/pass/reshape_sinking.cpp
View file @
800d5f14
...
...
@@ -40,20 +40,6 @@
using
namespace
ngraph
;
extern
template
ngraph
::
AxisVector
ngraph
::
apply_permutation
<
ngraph
::
AxisVector
>
(
ngraph
::
AxisVector
input
,
ngraph
::
AxisVector
order
);
extern
template
ngraph
::
Coordinate
ngraph
::
apply_permutation
<
ngraph
::
Coordinate
>
(
ngraph
::
Coordinate
input
,
ngraph
::
AxisVector
order
);
extern
template
ngraph
::
Strides
ngraph
::
apply_permutation
<
ngraph
::
Strides
>
(
ngraph
::
Strides
input
,
ngraph
::
AxisVector
order
);
extern
template
ngraph
::
Shape
ngraph
::
apply_permutation
<
ngraph
::
Shape
>
(
ngraph
::
Shape
input
,
ngraph
::
AxisVector
order
);
using
ReshapeMap
=
std
::
unordered_map
<
std
::
shared_ptr
<
Node
>
,
std
::
shared_ptr
<
op
::
Reshape
>>
;
static
std
::
string
describe_reshape
(
std
::
shared_ptr
<
Node
>
node
)
...
...
src/ngraph/pass/reshape_sinking.hpp
View file @
800d5f14
...
...
@@ -17,6 +17,7 @@
#pragma once
#include "ngraph/pass/pass.hpp"
#include "ngraph/util.hpp"
namespace
ngraph
{
...
...
@@ -29,3 +30,17 @@ namespace ngraph
};
}
}
extern
template
ngraph
::
AxisVector
ngraph
::
apply_permutation
<
ngraph
::
AxisVector
>
(
ngraph
::
AxisVector
input
,
ngraph
::
AxisVector
order
);
extern
template
ngraph
::
Coordinate
ngraph
::
apply_permutation
<
ngraph
::
Coordinate
>
(
ngraph
::
Coordinate
input
,
ngraph
::
AxisVector
order
);
extern
template
ngraph
::
Strides
ngraph
::
apply_permutation
<
ngraph
::
Strides
>
(
ngraph
::
Strides
input
,
ngraph
::
AxisVector
order
);
extern
template
ngraph
::
Shape
ngraph
::
apply_permutation
<
ngraph
::
Shape
>
(
ngraph
::
Shape
input
,
ngraph
::
AxisVector
order
);
\ No newline at end of file
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