Skip to content

get_set removal #227

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

get_set removal #227

wants to merge 2 commits into from

Conversation

Riccardo231
Copy link
Collaborator

Starting to work on the code; still a draft, maybe have a look so to tell me if somebody is visibly wrong.

(I thought i was working on my fork but instead i created a branch on the main project, i hope this is not a problem. Thank you)

Copy link
Member

@milancurcic milancurcic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you! It's exactly what I had in mind. And the same approach with set_params.

@Riccardo231
Copy link
Collaborator Author

Riccardo231 commented Aug 6, 2025

Hello, I've also removed set_params()

What I wanted to discuss with you is that in the layer embedding_layer there are only weights and not biases, so I cannot properly use the get_params_ptr, I think you already noticed because you didn't implement it.

What should I do? I think that adding biases to the layer wouldn't break anything.

Plus, in self_attention_layer I cannot find the submodule and the get_set procedures. Where are they?

When I'll be done with these two layers I can finally remove every instance of the getset procedures. Thanks, I'll wait for an answer @milancurcic

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.

2 participants