maml
maml copied to clipboard
a question on transduction
why instead of
unused = task_metalearn((self.inputa[0], self.inputb[0], self.labela[0], self.labelb[0]), False)
you haven't used the following:
unused = self.forward(self.inputa[0], weights, reuse=reuse)
?
It should work to use unused = self.forward(self.inputa[0], weights, reuse=False)
An older version of the code required it to be task_metalearn instead of forward. Feel free to make a pull request if you'd like.