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
df6d7281
Commit
df6d7281
authored
Nov 27, 2018
by
Nick Korovaiko
Committed by
Jayaram Bobba
Nov 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
double check that the third arg is indeed maxpool (#2116)
parent
bdfa4719
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
cpu_workspace_insertion.cpp
src/ngraph/runtime/cpu/pass/cpu_workspace_insertion.cpp
+3
-1
No files found.
src/ngraph/runtime/cpu/pass/cpu_workspace_insertion.cpp
View file @
df6d7281
...
...
@@ -61,7 +61,9 @@ static std::shared_ptr<pattern::Matcher> create_maxpool_with_indices_matcher()
Shape
window_shape
{
3
};
auto
max_pool
=
std
::
make_shared
<
op
::
MaxPool
>
(
data
,
window_shape
);
auto
delta
=
std
::
make_shared
<
pattern
::
op
::
Label
>
(
element
::
f32
,
max_pool
->
get_shape
());
auto
max_pool_label
=
std
::
make_shared
<
pattern
::
op
::
Label
>
(
element
::
f32
,
max_pool
->
get_shape
());
auto
is_max_pool
=
pattern
::
has_class
<
op
::
MaxPool
>
();
auto
max_pool_label
=
std
::
make_shared
<
pattern
::
op
::
Label
>
(
element
::
f32
,
max_pool
->
get_shape
(),
is_max_pool
);
auto
max_pool_bprop
=
std
::
make_shared
<
op
::
MaxPoolBackprop
>
(
data
,
delta
,
...
...
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