(self, x, past)
| 49 | self.skip = nn.Conv2d(n_in, n_out, 1, bias=False) if n_in != n_out else nn.Identity() |
| 50 | self.act = nn.ReLU(inplace=True) |
| 51 | def forward(self, x, past): |
| 52 | return self.act(self.conv(torch.cat([x, past], 1)) + self.skip(x)) |
| 53 | |
| 54 | class TPool(nn.Module): |
| 55 | def __init__(self, n_f, stride): |
nothing calls this directly
no outgoing calls
no test coverage detected