OpInfo: specifying sparse sample input function implies the corresponding layout support (#100392)
As in the title.
The PR fixes an issue of silently skipping tests as described in #100391.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/100392
Approved by: https://github.com/pmeier, https://github.com/cpuhrsch