Public Member Functions
InferenceEngine::PortInfo Class Reference

This class contains a pair from layerId and port index. More...

#include <ie_network.hpp>

Public Member Functions

 PortInfo (idx_t layerID)
 The constructor creates a PortInfo object for port 0. More...
 
 PortInfo (idx_t layerID, idx_t portID)
 The constructor creates a PortInfo object. More...
 
idx_t layerId () const
 Get layer id. More...
 
idx_t portId () const
 Get port id. More...
 
bool operator== (const PortInfo &portInfo) const
 Compares the given PortInfo object with the current one. More...
 
bool operator!= (const PortInfo &portInfo) const
 Checks if the given PortInfo object is not equal to the current one. More...
 

Detailed Description

This class contains a pair from layerId and port index.

Deprecated:
Use ngraph API instead.

Constructor & Destructor Documentation

§ PortInfo() [1/2]

InferenceEngine::PortInfo::PortInfo ( idx_t  layerID)
inline

The constructor creates a PortInfo object for port 0.

Parameters
layerIDLayer id

§ PortInfo() [2/2]

InferenceEngine::PortInfo::PortInfo ( idx_t  layerID,
idx_t  portID 
)
inline

The constructor creates a PortInfo object.

Parameters
layerIDLayer id
portIDPort id

Member Function Documentation

§ layerId()

idx_t InferenceEngine::PortInfo::layerId ( ) const
inline

Get layer id.

Returns
Layer id

§ operator!=()

bool InferenceEngine::PortInfo::operator!= ( const PortInfo portInfo) const
inline

Checks if the given PortInfo object is not equal to the current one.

Parameters
portInfoPortInfo object to compare with
Returns
true if the given PortInfo object is not equal to the current one, false - otherwise

§ operator==()

bool InferenceEngine::PortInfo::operator== ( const PortInfo portInfo) const
inline

Compares the given PortInfo object with the current one.

Parameters
portInfoPortInfo object to compare with
Returns
true if the given PortInfo object is equal to the current one, false - otherwise

§ portId()

idx_t InferenceEngine::PortInfo::portId ( ) const
inline

Get port id.

Returns
Port id

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