12 #include <initializer_list>
25 class INFERENCE_ENGINE_API_CLASS(CompoundBlob):
public Blob {
30 using Ptr = std::shared_ptr<CompoundBlob>;
35 using CPtr = std::shared_ptr<const CompoundBlob>;
61 size_t element_size() const noexcept override;
66 void allocate() noexcept override;
72 bool deallocate() noexcept override;
87 size_t size() const noexcept override;
95 virtual
Blob::
Ptr getBlob(
size_t i) const noexcept;
120 void* getHandle() const noexcept override;
131 using Ptr = std::shared_ptr<NV12Blob>;
136 using CPtr = std::shared_ptr<const NV12Blob>;
185 using Ptr = std::shared_ptr<I420Blob>;
190 using CPtr = std::shared_ptr<const I420Blob>;
281 using Ptr = std::shared_ptr<BatchedBlob>;
286 using CPtr = std::shared_ptr<const BatchedBlob>;
This class represents a blob that contains other blobs - one per batch.
Definition: ie_compound_blob.h:276
BatchedBlob(std::vector< Blob::Ptr > &&blobs)
Constructs a batched blob from a vector of blobs.
BatchedBlob(const std::vector< Blob::Ptr > &blobs)
Constructs a batched blob from a vector of blobs.
This class represents a universal container in the Inference Engine.
Definition: ie_blob.h:38
std::shared_ptr< const Blob > CPtr
A smart pointer to the const Blob object.
Definition: ie_blob.h:48
std::shared_ptr< Blob > Ptr
A smart pointer containing Blob object.
Definition: ie_blob.h:43
This class represents a blob that contains other blobs.
Definition: ie_compound_blob.h:25
CompoundBlob(std::vector< Blob::Ptr > &&blobs)
Constructs a compound blob from a vector of blobs.
CompoundBlob(const std::vector< Blob::Ptr > &blobs)
Constructs a compound blob from a vector of blobs.
size_t byteSize() const noexcept override
Always returns 0
Represents a blob that contains three planes (Y,U and V) in I420 color format.
Definition: ie_compound_blob.h:180
I420Blob(const Blob::Ptr &y, const Blob::Ptr &u, const Blob::Ptr &v)
Constructs I420 blob from three planes Y, U and V.
Blob::Ptr & y() noexcept
Returns a reference to shared pointer to Y plane.
I420Blob(Blob::Ptr &&y, Blob::Ptr &&u, Blob::Ptr &&v)
Constructs I420 blob from three planes Y, U and V.
Allocator concept to be used for memory management and is used as part of the Blob.
Definition: ie_allocator.hpp:29
This class represents locked memory for read/write memory.
Definition: ie_locked_memory.hpp:111
Represents a blob that contains two planes (Y and UV) in NV12 color format.
Definition: ie_compound_blob.h:126
NV12Blob(const Blob::Ptr &y, const Blob::Ptr &uv)
Constructs NV12 blob from two planes Y and UV.
NV12Blob(Blob::Ptr &&y, Blob::Ptr &&uv)
Constructs NV12 blob from two planes Y and UV.
virtual Blob::Ptr & y() noexcept
Returns a shared pointer to Y plane.
This class defines Tensor description.
Definition: ie_layouts.h:158
A header file for Blob and generic TBlob<>
Inference Engine C++ API.
Definition: cldnn_config.hpp:15
This structure describes ROI data for image-like tensors.
Definition: ie_layouts.h:329