Update modeling_custom.py
Browse files- modeling_custom.py +1 -1
modeling_custom.py
CHANGED
@@ -48,7 +48,7 @@ class GatingNetwork(nn.Module):
|
|
48 |
# self.dropout_list = [nn.Dropout(dropout_rate), nn.Dropout(dropout_rate)]
|
49 |
layers.append(nn.Linear(in_features, out_features, bias=bias))
|
50 |
self.layers = nn.ModuleList(layers)
|
51 |
-
print("Gating network layers:", self.layers)
|
52 |
|
53 |
def forward(self, x: torch.FloatTensor) -> torch.FloatTensor:
|
54 |
orig_shape = x.shape
|
|
|
48 |
# self.dropout_list = [nn.Dropout(dropout_rate), nn.Dropout(dropout_rate)]
|
49 |
layers.append(nn.Linear(in_features, out_features, bias=bias))
|
50 |
self.layers = nn.ModuleList(layers)
|
51 |
+
# print("Gating network layers:", self.layers)
|
52 |
|
53 |
def forward(self, x: torch.FloatTensor) -> torch.FloatTensor:
|
54 |
orig_shape = x.shape
|