minGPT
minGPT copied to clipboard
`named_parameters` does not have to be recursive
See torch.nn.Module.named_parameters.
Plus, prefix does the same thing as fpn = '%s.%s' % (mn, pn) if mn else pn.