Fix an import deprecation warning (#3110)
This commit is contained in:
parent
7b054399c6
commit
1f7cc1ce3e
|
@ -14,7 +14,7 @@
|
|||
|
||||
import itertools
|
||||
import threading
|
||||
from collections import Mapping, Iterable
|
||||
from collections.abc import Mapping, Iterable
|
||||
from itertools import chain
|
||||
|
||||
import torch
|
||||
|
|
Loading…
Reference in New Issue