Aku Rouhe
commited on
Commit
•
85046ed
1
Parent(s):
fa827db
New naming scheme
Browse files- interface.py → custom.py +1 -1
interface.py → custom.py
RENAMED
@@ -9,7 +9,7 @@ class FeatureScaler(torch.nn.Module):
|
|
9 |
def forward(x):
|
10 |
return x * self.scaler
|
11 |
|
12 |
-
class
|
13 |
MODULES_NEEDED = ["normalizer"]
|
14 |
HPARAMS_NEEDED = ["feature_extractor"]
|
15 |
|
|
|
9 |
def forward(x):
|
10 |
return x * self.scaler
|
11 |
|
12 |
+
class CustomInterface(sb.pretrained.interfaces.Pretrained):
|
13 |
MODULES_NEEDED = ["normalizer"]
|
14 |
HPARAMS_NEEDED = ["feature_extractor"]
|
15 |
|