mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
remove duplicate import for defaultdict (#160519)
Fixes #160518
This PR aims to remove the duplicate import of defaultdict in the following file:
ecde76c764/functorch/op_analysis/gen_data.py (L36)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/160519
Approved by: https://github.com/malfet
This commit is contained in:
committed by
PyTorch MergeBot
parent
a87aea03f7
commit
0b5a99be88
@ -33,7 +33,6 @@ def gen_data(special_op_lists, analysis_name):
|
|||||||
annotated_ops = {
|
annotated_ops = {
|
||||||
a.strip(): b.strip() for a, b in list(csv.reader(open("annotated_ops")))
|
a.strip(): b.strip() for a, b in list(csv.reader(open("annotated_ops")))
|
||||||
}
|
}
|
||||||
from collections import defaultdict
|
|
||||||
|
|
||||||
uniq_ops = []
|
uniq_ops = []
|
||||||
uniq_names = set()
|
uniq_names = set()
|
||||||
|
Reference in New Issue
Block a user