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:
Parshant Sharma
2025-09-20 04:06:36 +00:00
committed by PyTorch MergeBot
parent a87aea03f7
commit 0b5a99be88

View File

@ -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()