pub unsafe fn ie_blob_make_memory_from_preallocated(
    tensorDesc: *const tensor_desc_t,
    ptr: *mut c_void,
    size: usize,
    blob: *mut *mut ie_blob_t
) -> IEStatusCode
Expand description

@brief Creates a blob with the given tensor descriptor from the pointer to the pre-allocated memory. @ingroup Blob @param tensorDesc Tensor descriptor for Blob creation. @param ptr Pointer to the pre-allocated memory. @param size Length of the pre-allocated array. @param blob A pointer to the newly created blob. @return Status code of the operation: OK(0) for success.