allow accepting empty input to the benchmark (#23462)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/23462
as title
Reviewed By: hl475
Differential Revision: D16527176
fbshipit-source-id: 7a8ff4f3c6122ae7b3205e0b446fec06fd95eedc