maxall4 commited on
Commit
e84e201
·
verified ·
1 Parent(s): 0dba1f5

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +2 -0
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