We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0002f94 commit 07e6ef4Copy full SHA for 07e6ef4
userbenchmark/dynamo/dynamobench/_dynamo/utils.py
@@ -1896,6 +1896,14 @@ def check_numpy_ndarray_args(args, kwargs):
1896
range_iterator: Type[Iterator[Any]] = type(iter(range(0)))
1897
tuple_iterator_len = tuple_iterator.__length_hint__ # type: ignore[attr-defined]
1898
object_new = object.__new__
1899
+dict_new = dict.__new__
1900
+dict_methods = {
1901
+ method
1902
+ for method in itertools.chain(
1903
+ dict.__dict__.values(), collections.OrderedDict.__dict__.values()
1904
+ )
1905
+ if callable(method)
1906
+}
1907
1908
1909
def nn_module_new(cls):
0 commit comments