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 PortInfofrom () const
 
const PortInfoto () 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
inputpair of the index of input layer and the index of output port
outputpair 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
connectionConnection 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
connectionConnection 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: