TensorIterator: documentation on the order of creation (#57550)
Summary:
Adds documentation to TensorIterator and TensorIteratorConfig that outputs need to be added first before inputs.
Fixes https://github.com/pytorch/pytorch/issues/57343
Pull Request resolved: https://github.com/pytorch/pytorch/pull/57550
Reviewed By: VitalyFedyunin
Differential Revision: D28198135
Pulled By: mrshenli
fbshipit-source-id: 363603cac968bf786a4a6a64e353307c54d541b1