I tried it with the complete code and it still works:
model = SplitDilatedCNN()
x = torch.randn(1, 4, 24, 24)
output = model(x)
output.mean().backward()
print(model.dcnn[0].convolutions[0].conv.weight.grad)

Which PyTorch version are you using?