Esempio n. 1
0
 def forward(self, input):
     skip_1to3 = yield pop("1to3")
     output = self.conv(input) + skip_1to3
     return output
Esempio n. 2
0
 def forward(self, input):
     none = yield pop("none")
     assert none is None
     return input
Esempio n. 3
0
 def forward(self, input):
     foo = yield pop("foo")
     return foo
Esempio n. 4
0
 def forward(self, input):
     yield pop("foo")
Esempio n. 5
0
 def forward(self, input):
     skip = yield pop("skip")
     return input + skip
 def forward(self, input):
     bar = yield pop("bar")
     return input + bar