add profileing and small conv3d repoducer
This commit is contained in:
@ -72,6 +72,7 @@ class CausalConv3d(nn.Module):
|
||||
|
||||
self.conv = nn.Conv3d(chan_in, chan_out, kernel_size,
|
||||
stride=stride, dilation=dilation, **kwargs)
|
||||
print(f"Conv3d: {chan_in}, {chan_out}, {kernel_size}, stride={stride}, dilation={dilation}")
|
||||
|
||||
def forward(self, x):
|
||||
x = F.pad(x, self.time_causal_padding, mode=self.pad_mode)
|
||||
|
Reference in New Issue
Block a user