def check_model(self):
    '\n        This method check whether the model (along with the plugin) is support on the CPU device.\n        If anything is missing (such as a CPU extension), let the user know and exit the programm.\n        '
    supported_layers = self.plugin.query_network(network=self.network, device_name='CPU')
    unsupported_layers = [l for l in self.network.layers.keys() if (l not in supported_layers)]
    if (len(unsupported_layers) != 0):
        log.error('Unsupported layers found: {}'.format(unsupported_layers))
        if self.extensions:
            log.error('The extensions specified do not support some layers. Please specify a new extension.')
        else:
            log.error('Please try to specify an extension library path by using the --extensions command line argument.')
        sys.exit(1)
    return
This method check whether the model (along with the plugin) is support on the CPU device.
If anything is missing (such as a CPU extension), let the user know and exit the programm.
def check_model(self):
    '\n        This method check whether the model (along with the plugin) is support on the CPU device.\n        If anything is missing (such as a CPU extension), let the user know and exit the programm.\n        '
    supported_layers = self.plugin.query_network(network=self.network, device_name='CPU')
    unsupported_layers = [l for l in self.network.layers.keys() if (l not in supported_layers)]
    if (len(unsupported_layers) != 0):
        log.error('Unsupported layers found: {}'.format(unsupported_layers))
        if self.extensions:
            log.error('The extensions specified do not support some layers. Please specify a new extension.')
        else:
            log.error('Please try to specify an extension library path by using the --extensions command line argument.')
        sys.exit(1)
    return