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
70e5973c
Unverified
Commit
70e5973c
authored
Jan 10, 2020
by
Scott Cyphers
Committed by
GitHub
Jan 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modernize a pass (#4055)
Co-authored-by:
Sang Ik Lee
<
sang.ik.lee@intel.com
>
parent
6bd90ef4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
cpu_memory_assignment.cpp
src/ngraph/runtime/cpu/pass/cpu_memory_assignment.cpp
+0
-0
cpu_memory_assignment.hpp
src/ngraph/runtime/cpu/pass/cpu_memory_assignment.hpp
+2
-2
No files found.
src/ngraph/runtime/cpu/pass/cpu_memory_assignment.cpp
View file @
70e5973c
This diff is collapsed.
Click to expand it.
src/ngraph/runtime/cpu/pass/cpu_memory_assignment.hpp
View file @
70e5973c
...
...
@@ -53,13 +53,13 @@ private:
void
process_in_place_concat
(
std
::
list
<
std
::
shared_ptr
<
Node
>>
nodes
);
// For a chain of concat ops, propagate memory pool offsets
void
propagate_in_place_concat
(
std
::
shared_ptr
<
ngraph
::
op
::
Op
>
concat
,
size_t
index
);
void
propagate_in_place_concat
(
const
ngraph
::
Output
<
ngraph
::
Node
>&
concat
);
// Find in-place slice ops and set appropriate memory pool offset for its output
void
process_in_place_slice
(
std
::
list
<
std
::
shared_ptr
<
Node
>>
nodes
);
// propagate slice when its arg comes from function input
void
propagate_in_place_slice
(
ngraph
::
descriptor
::
Input
*
input
,
size_t
input_index
);
void
propagate_in_place_slice
(
const
ngraph
::
Input
<
ngraph
::
Node
>&
input
);
// build buffer sets maps
void
build_buffer_sets_maps
(
std
::
list
<
std
::
shared_ptr
<
Node
>>&
ops
);
...
...
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