Skip to content

Commit

Permalink
fix span output
Browse files Browse the repository at this point in the history
  • Loading branch information
TNTwise committed Oct 27, 2024
1 parent 287cd39 commit 4bcca51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/src/spandrel/architectures/SPAN/__arch/span.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,11 @@ def update_params(self):
self.eval_conv.bias.data = self.bias_concat.contiguous() # type: ignore

def forward(self, x):
self.update_params()
out = self.eval_conv(x)

if self.has_relu:

out = F.leaky_relu(out, negative_slope=0.05)
return out

Expand Down

0 comments on commit 4bcca51

Please sign in to comment.