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... |
|
This class contains a pair from layerId and port index.
|
inline |
The constructor creates a PortInfo object for port 0.
layerID | Layer id |
|
inline |
Get layer id.
|
inline |
|
inline |