Autograd isn't functioning when networks's parameters are taken from other networks

I get the following error

RuntimeError: a leaf Variable that requires grad has been used in an in-place operation.

I should probably initialise parameters of C with requires grad = False