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
5a43c0f7
Commit
5a43c0f7
authored
Oct 08, 2019
by
Ashok Emani
Committed by
Scott Cyphers
Oct 08, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add get_preferred_pipeline_depth to executable (#3747)
parent
b836b517
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
executable.cpp
src/ngraph/runtime/executable.cpp
+5
-0
executable.hpp
src/ngraph/runtime/executable.hpp
+4
-0
No files found.
src/ngraph/runtime/executable.cpp
View file @
5a43c0f7
...
...
@@ -108,6 +108,11 @@ const ngraph::ResultVector& runtime::Executable::get_results() const
return
m_results
;
}
size_t
runtime
::
Executable
::
get_preferred_pipeline_depth
()
const
{
return
2
;
}
void
runtime
::
Executable
::
set_parameters_and_results
(
const
Function
&
func
)
{
m_parameters
=
func
.
get_parameters
();
...
...
src/ngraph/runtime/executable.hpp
View file @
5a43c0f7
...
...
@@ -69,6 +69,10 @@ public:
/// \returns an ngraph::ResultVector of all input parameters
const
ngraph
::
ResultVector
&
get_results
()
const
;
/// \brief Get the preferred pipeline_depth for this executable
/// \returns preferred pipeline_depth
virtual
size_t
get_preferred_pipeline_depth
()
const
;
/// \brief Save this compiled Executable to an output stream.
/// Saved stream may be read with Backend::load
virtual
void
save
(
std
::
ostream
&
output_stream
);
...
...
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