Skip to content

Commit

Permalink
Update svd_layer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
juliagusak authored Feb 16, 2021
1 parent 8dfa2a1 commit e3e0822
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions musco/pytorch/compressor/decompositions/svd_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ def __init__(self, layer, layer_name,
self.layer = layer
self.pretrained = pretrained

self.min_rank = 2

#print(layer)

if isinstance(self.layer, nn.Sequential):
Expand Down

0 comments on commit e3e0822

Please sign in to comment.