Thank you very much for your reply.
Acctrually, the error is the same.
for the following code :
optimizer = torch.optim.Adadelt(net.parameters(), lr=0.05)
under the “Adadelt” there is underlines, and say:“Cannot find reference ‘Adadelt’ in  init .py”. And I check the “ init .py”, the Adadelt is not here
under the “parameters()” the underlines says"Cannont find reference ‘parameters’ in (input:(Any,…))"