for j in range(self.meta_batch_size):
self.learner.select_task()
inputs = self.learner.get_batch()
feed_dict = {}
feed_dict[self._global_step] = i
for k in range(len(inputs)):
feed_dict[self._input_placeholders[k]] = inputs[k]
feed_dict[self._meta_placeholders[k]] = inputs[k]
self._session.run(self._add_gradients, feed_dict=feed_dict)
self._session.run(self._meta_train_op)