Fix the return value of ParseFromString (#19262)
Summary:
Fix the return value of ParseFromString.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/19262
Differential Revision: D14937605
Pulled By: ezyang
fbshipit-source-id: 3f441086517186a075efb3d74f09160463b696b3