Data Structures | Typedefs | Functions
ie_remote_context.hpp File Reference

This is a header file for the IE RemoteContext and RemoteBlob classes. More...

#include <map>
#include <memory>
#include <string>
#include "ie_blob.h"
#include "ie_parameter.hpp"

Go to the source code of this file.

Data Structures

class  InferenceEngine::RemoteBlob
 This class represents an Inference Engine abstraction to the memory allocated on the remote (non-CPU) accelerator device. More...
 
class  InferenceEngine::RemoteContext
 This class represents an Inference Engine abstraction for remote (non-CPU) accelerator device-specific execution context. Such context represents a scope on the device within which executable networks and remote memory blobs can exist, function and exchange data. More...
 

Typedefs

using InferenceEngine::ParamMap = std::map< std::string, Parameter >
 An std::map object containing low-level object parameters of classes that are derived from RemoteBlob or RemoteContext.
 

Functions

RemoteBlob::Ptr InferenceEngine::make_shared_blob (const TensorDesc &desc, RemoteContext::Ptr ctx)
 A wrapper of CreateBlob method of RemoteContext to keep consistency with plugin-specific wrappers. More...
 

Detailed Description

This is a header file for the IE RemoteContext and RemoteBlob classes.

Function Documentation

◆ make_shared_blob()

RemoteBlob::Ptr InferenceEngine::make_shared_blob ( const TensorDesc desc,
RemoteContext::Ptr  ctx 
)
inline

A wrapper of CreateBlob method of RemoteContext to keep consistency with plugin-specific wrappers.

Parameters
descDefines the layout and dims of the blob
ctxPoniter to the plugin object derived from RemoteContext.
Returns
A pointer to plugin object that implements RemoteBlob interface.