def set_params(self, params):
        ind = 0
        for layer in self.layers_:
            num_params = layer.num_params()
            if num_params:
                layer.set_params(params[ind:ind+num_params])
            ind += num_params
Test that correct event ids are returned.
dataset/ETHPy150Open bbabenko/simple_convnet/simple_convnet/convnet.py/NNet.set_params--crossover with--dataset/ETHPy150Open Nordeus/pushkin/pushkin/tests/request/test_event_handler_manager.py/test_event_ids