Skip to content

Commit

Permalink
deuglify mnist example
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 688922829
  • Loading branch information
Qwlouse authored and The kauldron Authors committed Oct 23, 2024
1 parent ebb9144 commit 935b07d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/mnist_autoencoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ def get_config():


def _make_ds(training: bool):
Tfds = kd.data.py.Tfds
return Tfds(
return kd.data.py.Tfds(
name="mnist",
split="train" if training else "test",
shuffle=True if training else False,
Expand Down

0 comments on commit 935b07d

Please sign in to comment.