pytorch / nestedtensor

[Prototype] Tools for the concurrent manipulation of variably sized Tensors.
BSD 3-Clause "New" or "Revised" License
252 stars 28 forks source link

fix ignored constant return value in EfficientSizeNode #468

Closed swolchok closed 2 years ago

swolchok commented 2 years ago

Summary: nvcc fires off a warning about this, and more than zero build configurations turn that warning into an error, and this is unnecessary anyway so let's just fix it.

Differential Revision: D34307229

facebook-github-bot commented 2 years ago

This pull request was exported from Phabricator. Differential Revision: D34307229