fixed random gerenation export (#29354)
Summary:
Fixed random generator symbolics, and added rand_like.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/29354
Reviewed By: hl475
Differential Revision: D18400995
Pulled By: houseroad
fbshipit-source-id: 4a891e91b6c87ebce57c35b2bfa11e32ab93a149