code: def generate(self, num_to_generate, starting_place):
          
          res = []
          activ = starting_place[None, :]
          index = activ.__getattribute__(self.argfunc)(1)
          item = self.weights[index]
          for x in range(num_to_generate):
              activ = self.forward(item, prev_activation=activ)[0]
              index = activ.__getattribute__(self.argfunc)(1)
              res.append(index)
              item = self.weights[index]
  
          return res
docs: Generate data based on some initial position.