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.

Constructor & Destructor Documentation

§ PortInfo() [1/2]

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

The constructor creates a PortInfo object for port 0.

Parameters
layerID Layer id

§ PortInfo() [2/2]

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

The constructor creates a PortInfo object.

Parameters
layerID Layer id
portID Port 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
portInfo PortInfo 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
portInfo PortInfo 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: