Why the grad of parameter is None?

Where are you backpropagating? Please post a minimum executable snippet that reproduces your error.