28 class INFERENCE_ENGINE_API_CLASS(Data) {
147 std::shared_ptr<Impl> _impl;
This class represents the main Data representation node.
Definition: ie_data.h:28
void setLayout(Layout layout)
Sets the layout value for this Data instance.
Layout getLayout() const
Gets the layout value for this Data instance.
void reshape(const SizeVector &dims, Layout layout)
changes dims and layout at same time
const std::string & getName() const
void setName(const std::string &newName)
Sets a name the Data object.
Data(const std::string &name, const TensorDesc &desc)
A constructor with tensor descriptor.
const Precision & getPrecision() const
Gets a precision type of this Data instance.
Data(const Data &data)
A copy constructor.
const UserValue & getUserObject() const
const TensorDesc & getTensorDesc() const
Gets Tensor descriptor reference.
void setPrecision(const Precision &precision)
Sets a precision type of this Data instance.
void setDims(const SizeVector &a_dims)
Sets the data dimensions.
Data(const std::string &name, Precision _precision, Layout layout=NCHW)
An empty constructor (dimensionless)
bool isInitialized() const
Checks if the current node is resolved.
const SizeVector & getDims() const
This class holds precision value and provides precision related operations.
Definition: ie_precision.hpp:23
This class defines Tensor description.
Definition: ie_layouts.h:158
This is a header file with common inference engine definitions.
A header file for data layouts and conversion between them.
A header file that provides class for describing precision of data.
Inference Engine C++ API.
Definition: cldnn_config.hpp:15
Layout
Layouts that the inference engine supports.
Definition: ie_common.h:63
@ NCHW
NCHW layout for input / output blobs.
Definition: ie_common.h:67
std::vector< size_t > SizeVector
Represents tensor size.
Definition: ie_common.h:27
The method holds the user values to enable binding of data per graph node.
Definition: ie_common.h:53