Skip to content

named_parameters does not have to be recursive - #91

Open
Equim-chan wants to merge 1 commit into
karpathy:masterfrom
Equim-chan:no_recurse
Open

named_parameters does not have to be recursive#91
Equim-chan wants to merge 1 commit into
karpathy:masterfrom
Equim-chan:no_recurse

Conversation

@Equim-chan

@Equim-chan Equim-chan commented Nov 2, 2022

Copy link
Copy Markdown

See torch.nn.Module.named_parameters.

Plus, prefix does the same thing as fpn = '%s.%s' % (mn, pn) if mn else pn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant