def __init__(self, network: ie.IENetwork, exec_network: ie.ExecutableNetwork, collect_resuls: bool=True, collect_layers: set=None, collect_aggregated_statistics: bool=True, iterations_count: int=1, dataset_size: int=1):
    if (not network):
        raise ValueError('network is not specified')
    if (not exec_network):
        raise ValueError('exec_network is not specified')
    self._network = network
    self._exec_network = exec_network
    self._aggregated_statistics = None
    self._iterations_count = iterations_count
    self._dataset_size = dataset_size
    self._collect_results = collect_resuls
    self._collect_layers = collect_layers
    self._collect_aggregated_statistics = collect_aggregated_statistics
    self._infer_raw_results = (InferRawResults() if collect_resuls else None)
    self._latencies = list()
def __init__(self, network: ie.IENetwork, exec_network: ie.ExecutableNetwork, collect_resuls: bool=True, collect_layers: set=None, collect_aggregated_statistics: bool=True, iterations_count: int=1, dataset_size: int=1):
    if (not network):
        raise ValueError('network is not specified')
    if (not exec_network):
        raise ValueError('exec_network is not specified')
    self._network = network
    self._exec_network = exec_network
    self._aggregated_statistics = None
    self._iterations_count = iterations_count
    self._dataset_size = dataset_size
    self._collect_results = collect_resuls
    self._collect_layers = collect_layers
    self._collect_aggregated_statistics = collect_aggregated_statistics
    self._infer_raw_results = (InferRawResults() if collect_resuls else None)
    self._latencies = list()