Fix an import deprecation warning (#3110)

This commit is contained in:
Santiago Castro 2020-08-24 04:59:47 -04:00 committed by GitHub
parent 7b054399c6
commit 1f7cc1ce3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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