Commit 5a43c0f7 authored by Ashok Emani's avatar Ashok Emani Committed by Scott Cyphers

add get_preferred_pipeline_depth to executable (#3747)

parent b836b517
......@@ -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();
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment