Add error_inputs_sparse method to OpInfo (#100389)
Per https://github.com/pytorch/pytorch/pull/98288#discussion_r1170553576, this PR introduces `OpInfo.error_inputs_sparse_func` attribute for sparse inputs in parallel to the `OpInfo.error_inputs_func` attribute which is used for strided inputs.
These attributes are kept separate as the existing testing framework that calls `error_inputs_func` may apply operations to inputs that are unsupported for sparse tensors (e.g. as in test/functorch/).
Pull Request resolved: https://github.com/pytorch/pytorch/pull/100389
Approved by: https://github.com/cpuhrsch, https://github.com/pmeier