Skip to content

Commit 695299a

Browse files
tensorflower-gardenerfyangf
authored andcommitted
Using typing.* instead of collection.abc.* in detection_generator.py.
PiperOrigin-RevId: 501679686
1 parent abfa6bd commit 695299a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

official/vision/modeling/layers/detection_generator.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@
1313
# limitations under the License.
1414

1515
"""Contains definitions of generators to generate the final detections."""
16-
from collections.abc import Mapping, Sequence
1716
import contextlib
18-
from typing import Any, Dict, List, Optional, Tuple
17+
from typing import Any, Dict, List, Optional, Mapping, Sequence, Tuple
1918

2019
# Import libraries
2120

0 commit comments

Comments
 (0)