[Update independent.py]add explicit string representation (#33676)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/33676
Differential Revision: D20069202
Pulled By: ngimel
fbshipit-source-id: 48b609d4fb7a098e9e3383553103a9441673d63f