Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Prevent metric from being computed before updated using__new__#2012

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
trsvchn wants to merge3 commits intopytorch:master
base:master
Choose a base branch
Loading
fromtrsvchn:rst-upd-cmp

Conversation

@trsvchn
Copy link
Collaborator

Addresses#336#2007

Description:

Prevents metric from being computed before updated using__new__ magic.

__new__ is called by default on instance creation before__init__ call. Thus, we wrap methods before instance instantiation.

Check list:

  • New tests are added (if a new feature is added)
  • New doc strings: description and/or example code are in RST format
  • Documentation is updated (if required)

@github-actionsgithub-actionsbot added the module: metricsMetrics module labelMay 26, 2021
@trsvchntrsvchn marked this pull request as draftJuly 6, 2021 11:53
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

module: metricsMetrics module

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@trsvchn

[8]ページ先頭

©2009-2025 Movatter.jp