Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nn.Parameter provided at initialization does not appear in Element.parameters #302

Closed
Hespe opened this issue Dec 6, 2024 · 0 comments · Fixed by #303
Closed

nn.Parameter provided at initialization does not appear in Element.parameters #302

Hespe opened this issue Dec 6, 2024 · 0 comments · Fixed by #303
Assignees
Labels
bug Something isn't working

Comments

@Hespe
Copy link
Member

Hespe commented Dec 6, 2024

torch.nn.Parameters that are provided to the constructor of Cheetah elements are not properly included in the list of parameters provided by Element.parameters(). If instead the parameter is set manually after creating the element, the parameter is properly registered.

@Hespe Hespe mentioned this issue Dec 6, 2024
7 tasks
@Hespe Hespe changed the title nn.Parameter provided at initialization does not appear in ´Element.parameters´ nn.Parameter provided at initialization does not appear in Element.parameters Dec 6, 2024
@Hespe Hespe self-assigned this Dec 6, 2024
@Hespe Hespe added the bug Something isn't working label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant