This class contains a pair from layerId and port index.
More...
#include <ie_network.hpp>
This class contains a pair from layerId and port index.
§ PortInfo() [1/2]
InferenceEngine::PortInfo::PortInfo |
( |
idx_t |
layerID |
) |
|
|
inline |
The constructor creates a PortInfo object for port 0.
- Parameters
-
§ 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 |
§ 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: