Skip to content

replace torch.Tensor by torch.tensor in docstring#2528

Merged
vfdev-5 merged 1 commit intopytorch:masterfrom
sdesrozis:fix_doctest_tensor
Mar 25, 2022
Merged

replace torch.Tensor by torch.tensor in docstring#2528
vfdev-5 merged 1 commit intopytorch:masterfrom
sdesrozis:fix_doctest_tensor

Conversation

@sdesrozis
Copy link
Copy Markdown
Contributor

Fixes #2527

Description:

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-actions github-actions bot added the module: metrics Metrics module label Mar 25, 2022
Copy link
Copy Markdown
Collaborator

@vfdev-5 vfdev-5 left a comment

Choose a reason for hiding this comment

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

LGTM

@vfdev-5 vfdev-5 merged commit 8bd0c5a into pytorch:master Mar 25, 2022
@sdesrozis sdesrozis deleted the fix_doctest_tensor branch March 25, 2022 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: metrics Metrics module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace all torch.Tensor by torch.tensor

2 participants