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