diff --git a/pytorch_lightning/utilities/apply_func.py b/pytorch_lightning/utilities/apply_func.py index 5846214636..6f9b8e176f 100644 --- a/pytorch_lightning/utilities/apply_func.py +++ b/pytorch_lightning/utilities/apply_func.py @@ -1,5 +1,5 @@ from abc import ABC -from collections import Mapping, Sequence +from collections.abc import Mapping, Sequence from copy import copy from typing import Any, Callable, Union