Skip to content

Commit

Permalink
add vanilla export to InvertibleUpsampling class
Browse files Browse the repository at this point in the history
  • Loading branch information
Franck Mamalet committed Oct 9, 2024
1 parent 4007e77 commit fbedaac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deel/torchlip/modules/upsampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,6 @@ def __init__(

def forward(self, input: torch.Tensor) -> torch.Tensor:
return F.invertible_upsample(input, self.kernel_size) * self._coefficient_lip

def vanilla_export(self):
return self

0 comments on commit fbedaac

Please sign in to comment.