Public Member Functions
InferenceEngine::Connection Class Reference

This class is the main object to describe the Inference Engine connection. More...

#include <ie_network.hpp>

Public Member Functions

  Connection (const PortInfo &input, const PortInfo &output)
  Constructor of a connection object. More...
 
bool  operator== (const Connection &connection) const
  Compares the given Connection with the current one. More...
 
bool  operator!= (const Connection &connection) const
  Checks if the given Connection is not equal to the current one. More...
 
const PortInfo &  from () const
 
const PortInfo &  to () const
 

Detailed Description

This class is the main object to describe the Inference Engine connection.

Deprecated:
Use ngraph API instead.

Constructor & Destructor Documentation

§ Connection()

InferenceEngine::Connection::Connection ( const PortInfo &  input,
const PortInfo &  output 
)
inline

Constructor of a connection object.

Parameters
input pair of the index of input layer and the index of output port
output pair of the index of output layer and the index of input port

Member Function Documentation

§ from()

const PortInfo& InferenceEngine::Connection::from ( ) const
inline

Returns a constant reference to a pair of input layer index and output port index.

Returns
pair of the index of input layer and the index of output port

§ operator!=()

bool InferenceEngine::Connection::operator!= ( const Connection connection ) const
inline

Checks if the given Connection is not equal to the current one.

Parameters
connection Connection to compare with
Returns
true if the given Connection is not equal to the current one, false - otherwise

§ operator==()

bool InferenceEngine::Connection::operator== ( const Connection connection ) const
inline

Compares the given Connection with the current one.

Parameters
connection Connection to compare with
Returns
true if the given Connection is equal to the current one, false - otherwise

§ to()

const PortInfo& InferenceEngine::Connection::to ( ) const
inline

Returns a constant reference to a pair of output layer index and input port index.

Returns
pair of the index of output layer and the index of input port

The documentation for this class was generated from the following file: