#include <ie_network.hpp>
Public Types | |
| using | Ptr = std::shared_ptr< PortData > |
| A shared pointer to the PortData object. | |
Public Member Functions | |
| PortData () | |
| Default constructor. | |
| PortData (const SizeVector &shape, const Precision &precision) | |
| virtual | ~PortData ()=default |
| virtual destructor | |
| const Blob::Ptr & | getData () const |
| Returns data. More... | |
| void | setData (const Blob::Ptr &data) |
| Sets data. More... | |
| const std::map< std::string, Parameter > & | getParameters () const noexcept |
| Returns data parameters. More... | |
| void | setShape (const SizeVector &shape) |
| Sets new shapes for data. More... | |
This class describes port data
| InferenceEngine::PortData::PortData | ( | const SizeVector & | shape, |
| const Precision & | precision | ||
| ) |
Creates port data with precision and shape
| shape | Dimensions |
| precision | Precision |
|
noexcept |
Returns data parameters.
| void InferenceEngine::PortData::setData | ( | const Blob::Ptr & | data | ) |
Sets data.
| data | Blob with data |
| void InferenceEngine::PortData::setShape | ( | const SizeVector & | shape | ) |
Sets new shapes for data.
| shape | New shapes |