def action(self, batch_x):
        action_index = self.action_func(batch_x)
        actions = numpy.zeros((self.batch, self.action_dims),
                              dtype=numpy.float32)
        for i, action in enumerate(action_index):
            actions[i, action] = 1
        return actions
Tests reloading the schedule from saved schedule that contains
dataset/ETHPy150Open ifp-uiuc/anna/anna/models/__init__.py/ReinforcementModel.action--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/utils/schedule_test.py/ScheduleTestCase.test_reload_schedule_in_saved_but_not_opts