maml icon indicating copy to clipboard operation
maml copied to clipboard

a question on transduction

Open fvarno opened this issue 6 years ago • 1 comments

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)

?

fvarno avatar Aug 24 '18 23:08 fvarno

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.

cbfinn avatar Aug 28 '18 04:08 cbfinn