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>;
79 size_t byteSize() const noexcept override;
84 size_t element_size() const noexcept override;
89 void allocate() noexcept override;
95 bool deallocate() noexcept override;
105 LockedMemory<const
void> cbuffer() const noexcept override;
110 size_t size() const noexcept override;
118 virtual
Blob::
Ptr getBlob(
size_t i) const noexcept;
134 const std::shared_ptr<
IAllocator>& getAllocator() const noexcept override;
139 void* getHandle() const noexcept override;
145 class INFERENCE_ENGINE_API_CLASS(
NV12Blob): public CompoundBlob {
150 using Ptr = std::shared_ptr<NV12Blob>;
155 using CPtr = std::shared_ptr<const NV12Blob>;
211 virtual const
Blob::
Ptr& y() const noexcept;
216 virtual
Blob::
Ptr& uv() noexcept;
221 virtual const
Blob::
Ptr& uv() const noexcept;
227 class INFERENCE_ENGINE_API_CLASS(
I420Blob) : public CompoundBlob {
232 using Ptr = std::shared_ptr<I420Blob>;
237 using CPtr = std::shared_ptr<const I420Blob>;
304 const
Blob::
Ptr& y() const noexcept;
324 const
Blob::
Ptr& u() const noexcept;
344 const
Blob::
Ptr& v() const noexcept;
This class represents locked memory for read/write memory.
Definition: ie_locked_memory.hpp:111
Inference Engine API.
Definition: ie_argmax_layer.hpp:15
std::shared_ptr< CompoundBlob > Ptr
A smart pointer to the CompoundBlob object.
Definition: ie_compound_blob.h:30
A header file for Blob and generic TBlob<>
std::shared_ptr< const Blob > CPtr
A smart pointer to the const Blob object.
Definition: ie_blob.h:47
std::shared_ptr< Blob > Ptr
A smart pointer containing Blob object.
Definition: ie_blob.h:42
std::map< std::string, Blob::Ptr > blobs
Map of pairs: (name, weights/biases blob)
Definition: ie_layers.h:372
This class represents a universal container in the Inference Engine.
Definition: ie_blob.h:37
Represents a blob that contains two planes (Y and UV) in NV12 color format.
Definition: ie_compound_blob.h:145
This class represents a blob that contains other blobs.
Definition: ie_compound_blob.h:25
Allocator concept to be used for memory management and is used as part of the Blob.
Definition: ie_allocator.hpp:30
Represents a blob that contains three planes (Y,U and V) in I420 color format.
Definition: ie_compound_blob.h:227