C++ API parity: at::Tensor::output_nr
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/26216
Test Plan: Imported from OSS
Differential Revision: D17427576
Pulled By: pbelevich
fbshipit-source-id: 351c834c6c44a2a2f915e48a1e8aa8ad7f4274b3