print(nn.Linear(1, 1)._parameters.keys()) # odict_keys(['weight', 'bias'])