OpInfo: Allow sample_inputs_func to be any iterable (#69256)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/69256
Closes #52486
Test Plan: Imported from OSS
Reviewed By: mrshenli
Differential Revision: D32942008
Pulled By: mruberry
fbshipit-source-id: f5b01b0298c0160b0bec6e86e2b6db8cfe746206