[test][functorch] fix function name in factory_fns (#112315)

This PR fixes incorrect function name in `factory_fns`

Pull Request resolved: https://github.com/pytorch/pytorch/pull/112315
Approved by: https://github.com/zou3519
This commit is contained in:
Kazuaki Ishizaki 2023-10-30 22:08:02 +00:00 committed by PyTorch MergeBot
parent 31c0ef934b
commit ac71fea1a8

View File

@ -178,7 +178,7 @@ def get_ops_covered_by_opinfos():
factory_fns = {
'tensor', 'zeros', 'ones', 'randn', 'arange', 'rand', 'empty', 'randperm',
'linspace', 'logspace', 'hann_window', 'full', 'eye', 'blackman_window',
'barlett_window', 'randint', 'range',
'bartlett_window', 'randint', 'range',
}