Skip to content

Commit b3b220c

Browse files
committed
Try to fix mypy
1 parent 091dad9 commit b3b220c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: neural_network/input_data.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
from tensorflow.python.platform import gfile
2929
from tensorflow.python.util.deprecation import deprecated
3030

31-
_Datasets = typing.NamedTuple("_Datasets", ["train", "validation", "test"])
31+
_Datasets = typing.NamedTuple(
32+
"_Datasets", [("train", _DataSet), ("validation", _DataSet), ("test", _DataSet)])
3233

3334
# CVDF mirror of http://yann.lecun.com/exdb/mnist/
3435
DEFAULT_SOURCE_URL = "https://storage.googleapis.com/cvdf-datasets/mnist/"

0 commit comments

Comments
 (0)