If you just return x without any operations in SplitDilatedCNN your code works?
This seems to be strange, as x does not require gradients and you didn’t create any other tensors which might require gradients.
Your code should throw an error like:

RuntimeError: element 0 of tensors does not require grad and does not have a grad_fn

Could you check it?