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

Remove the uninitialized field "embedding" in nn.Embed #3801

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

copybara-service[bot]
Copy link

Remove the uninitialized field "embedding" in nn.Embed

The presence of this field breaks dataclasses.asdict() but it doesn't seem to serve much purpose. It was added in a change that tries to reduce gpylint errors but removing this line does not trigger any new gpylint error.

@codecov-commenter
Copy link

codecov-commenter commented Mar 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.31%. Comparing base (cc740d4) to head (9a2a4d6).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3801      +/-   ##
==========================================
- Coverage   60.34%   60.31%   -0.03%     
==========================================
  Files         101      101              
  Lines       12862    12860       -2     
==========================================
- Hits         7761     7756       -5     
- Misses       5101     5104       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

The presence of this field breaks dataclasses.asdict() but it doesn't seem to serve much purpose. It was added in a change that tries to reduce gpylint errors but removing this line does not trigger any new gpylint error.

PiperOrigin-RevId: 620934766
@copybara-service copybara-service bot merged commit f2bdcd8 into main Apr 1, 2024
@copybara-service copybara-service bot deleted the test_620422049 branch April 1, 2024 20:21
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