Update model.py
Browse files
model.py
CHANGED
@@ -310,6 +310,8 @@ class ParallelGatedConvBlock(nn.Module):
|
|
310 |
|
311 |
z, inference_params = self.filter(z, inference_params=inference_params, padding_mask=padding_mask)
|
312 |
|
|
|
|
|
313 |
z_in = self.out_filter_dense(z) + u
|
314 |
|
315 |
if type(padding_mask) == torch.Tensor: # guard against bias
|
|
|
310 |
|
311 |
z, inference_params = self.filter(z, inference_params=inference_params, padding_mask=padding_mask)
|
312 |
|
313 |
+
self.filter_output = z
|
314 |
+
|
315 |
z_in = self.out_filter_dense(z) + u
|
316 |
|
317 |
if type(padding_mask) == torch.Tensor: # guard against bias
|