예제 #1
0
 def _take_action(self, action_ix):
     action = ACTION_LOOKUP[action_ix]
     # print("ACTION:", action)
     self.history[self.sha256]["actions"].append(action)
     self.bytez = modifier.modify_sample(self.bytez, action)
예제 #2
0
 def _take_action(self, action_ix):
     action = ACTION_LOOKUP[action_ix]
     self.history[self.sha256]['actions'].append(action)
     self.bytez = modifier.modify_sample(self.bytez, action)