Stacked switches - return a tuple
This commit is contained in:
parent
13f97e1e97
commit
c3ef8a4a31
|
@ -281,7 +281,7 @@ class StackedSwitchGenerator(nn.Module):
|
|||
x_out = checkpoint(self.final_hr_conv2, x_out)
|
||||
|
||||
self.attentions = [a1, a3, a3]
|
||||
return x_out
|
||||
return x_out,
|
||||
|
||||
def set_temperature(self, temp):
|
||||
[sw.set_temperature(temp) for sw in self.switches]
|
||||
|
|
Loading…
Reference in New Issue
Block a user