Skip to content

Conversation

@ailzhang
Copy link
Contributor

@ailzhang ailzhang commented May 9, 2019

fixes #20215
The confusing behavior was caused by typos in type annotation :(

@pytorchbot pytorchbot added module: cuda Related to torch.cuda, and CUDA support in general module: nn Related to torch.nn module: operators labels May 9, 2019
@ailzhang ailzhang changed the title fix typo in annotation & cleanup comments fix typo in adaptive methods annotation May 9, 2019
@ailzhang ailzhang requested a review from ezyang May 9, 2019 07:09
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@ailzhang has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@ezyang
Copy link
Contributor

ezyang commented May 9, 2019

cc @skrah

Copy link
Contributor

@ezyang ezyang left a comment

Choose a reason for hiding this comment

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

Nicely done.

@skrah
Copy link
Contributor

skrah commented May 9, 2019

Nice indeed, good to know about the type annotations.

zdevito pushed a commit to zdevito/ATen that referenced this pull request May 9, 2019
Summary:
fixes #20215
The confusing behavior was caused by typos in type annotation :(
Pull Request resolved: pytorch/pytorch#20306

Differential Revision: D15276216

Pulled By: ailzhang

fbshipit-source-id: 1b0c9635a72a05c9b537f80d85b117b5077fbec7
@facebook-github-bot
Copy link
Contributor

@ailzhang merged this pull request in 899bdde.

1 similar comment
@facebook-github-bot
Copy link
Contributor

@ailzhang merged this pull request in 899bdde.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged module: cuda Related to torch.cuda, and CUDA support in general module: nn Related to torch.nn

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The JIT sometimes does not repeat values in the output_size argument.

6 participants