Allow specifying range in and cpu_serial_kernel and cpu_serial_kernel_vec (#37981)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/37981
This additional parameter may be helpful in parallelize range factories
Differential Revision: D21506744
Test Plan: Imported from OSS
Pulled By: malfet
fbshipit-source-id: be9418216510ae600c555188971663fafb413fa0