Skip to content

Commit 17846b9

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2b06d04 commit 17846b9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

neural_network/input_data.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,9 @@ def __init__(
156156
self._rng = np.random.default_rng(seed1 if seed is None else seed2)
157157
dtype = dtypes.as_dtype(dtype).base_dtype
158158
if dtype not in (dtypes.uint8, dtypes.float32):
159-
raise TypeError(f"Invalid image dtype {repr(dtype)}, expected uint8 or float32")
159+
raise TypeError(
160+
f"Invalid image dtype {repr(dtype)}, expected uint8 or float32"
161+
)
160162
if fake_data:
161163
self._num_examples = 10000
162164
self.one_hot = one_hot

0 commit comments

Comments
 (0)