Fix typo in aten/src/README.md (#89175)

remove redundant "have to"
Pull Request resolved: https://github.com/pytorch/pytorch/pull/89175
Approved by: https://github.com/kit1980
This commit is contained in:
keineahnung2345 2022-11-17 22:28:20 +00:00 committed by PyTorch MergeBot
parent a695fcf201
commit e2229a89b0

View file

@ -69,8 +69,8 @@ will `retain` it itself.
```
Sometimes, you have a tensor in hand which you'd like to use directly, but
under some conditions you have to have to call, e.g., `newContiguous`, to get
it into the correct form:
under some conditions you have to call, e.g., `newContiguous`, to get it into
the correct form:
```
if (!(k_->stride(3) == 1) || !(k_->stride[2] == k_->size(3))) {