Skip to content

Conversation

@casinca
Copy link
Contributor

@casinca casinca commented Nov 8, 2025

This is following #902 and spotted by @d-kleine:

Small refactor/fix to change the A component initialization from all zeroes to the log of a uniform distribution, following the official GDN implementations.

Note: I didn't specify the dtype of the torch.empty tensor for simplicity

Copy link
Owner

@rasbt rasbt left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for the fix!

@rasbt rasbt merged commit 7d92267 into rasbt:main Nov 9, 2025
3 checks passed
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