def round_robin(self, num_layers):
    self.__rr_last = self.__rr_begin
    self.__rr_begin = np.random.ranint(0, (num_layers - 1))
    return self.__rr_last
def round_robin(self, num_layers):
    self.__rr_last = self.__rr_begin
    self.__rr_begin = np.random.ranint(0, (num_layers - 1))
    return self.__rr_last