Add missing typing.Optional type annotations to function parameters.

PiperOrigin-RevId: 376229010
This commit is contained in:
Rebecca Chen
2021-05-27 20:50:15 +01:00
committed by Saran Tunyasuvunakool
parent c096f3e7aa
commit 6fdfc75483
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ class ResNetTorso(hk.Module):
def __init__(
self,
blocks_per_group: Sequence[int],
num_classes: int = None,
num_classes: Optional[int] = None,
bn_config: Optional[Mapping[str, float]] = None,
resnet_v2: bool = False,
bottleneck: bool = True,