class BlobFactory¶
template <InferenceEngine::Precision::ePrecision precision>
class BlobFactory
{
public:
// typedefs
typedef typename InferenceEngine::PrecisionTrait<precision>::value_type BlobType;
// methods
static InferenceEngine::Blob::Ptr make(const InferenceEngine::TensorDesc& desc);
static InferenceEngine::Blob::Ptr make(
const InferenceEngine::TensorDesc& desc,
void \* ptr
);
static InferenceEngine::Blob::Ptr make(
const InferenceEngine::TensorDesc& desc,
void \* ptr,
const std::size_t size
);
static InferenceEngine::Blob::Ptr make(
const InferenceEngine::TensorDesc& desc,
const std::shared_ptr<InferenceEngine::IAllocator>& alloc
);
};