Still not quite sure what you mean…
So you want to “debug” tensors?
you can add hook functions within your modules and ask them to print it
or if you need forward function, I’m not aware if you can override one from nn.Sequential, you might need to do some research