This class is the main plugin interface and serves to initialize and configure the plugin. More...
|def||__init__ (self, device, plugin_dirs=None)|
|Class constructor. More...|
|def||load (self, IENetwork, network, int, num_requests=1, config=None)|
|Loads a network that was read from the IR to the plugin and creates an executable network from a network object. More...|
|def||set_initial_affinity (self, IENetwork, net)|
|Sets initial affinity for model layers according to the HETERO plugin logic. More...|
|def||get_supported_layers (self, IENetwork, net)|
|def||add_cpu_extension (self, str, extension_path)|
|Loads extensions library to the plugin. More...|
This class is the main plugin interface and serves to initialize and configure the plugin.
|device||Target device name. Supported devices: CPU, GPU, FPGA, MYRIAD, HETERO, MULTI|
|plugin_dirs||List of paths to plugin directories|
Loads extensions library to the plugin.
Applicable only for a CPU device and a HETERO device with CPU
|extension_path||A full path to CPU extensions library|
Loads a network that was read from the IR to the plugin and creates an executable network from a network object.
You can create as many networks as you need and use them simultaneously (up to the limitation of the hardware resources).
|network||A valid |
|num_requests||A positive integer value of infer requests to be created. Number of infer requests may be limited by device capabilities.|
|config||A dictionary of plugin configuration keys and their values|