From b6b6778702548b45a17da21845004998b48044f7 Mon Sep 17 00:00:00 2001 From: Rajeev Atla Date: Sun, 9 Aug 2020 22:08:34 -0400 Subject: [PATCH] Correct method As reported in issue #32 the method used is wrong. --- tensorflow_gan/examples/colab_notebooks/tfgan_tutorial.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow_gan/examples/colab_notebooks/tfgan_tutorial.ipynb b/tensorflow_gan/examples/colab_notebooks/tfgan_tutorial.ipynb index c94e0aba..9f6e00cf 100644 --- a/tensorflow_gan/examples/colab_notebooks/tfgan_tutorial.ipynb +++ b/tensorflow_gan/examples/colab_notebooks/tfgan_tutorial.ipynb @@ -176,7 +176,7 @@ " just_noise = (mode == tf.estimator.ModeKeys.PREDICT)\n", " \n", " noise_ds = (tf.data.Dataset.from_tensors(0).repeat()\n", - " .map(lambda _: tf.random_normal([bs, nd])))\n", + " .map(lambda _: tf.random.normal([bs, nd])))\n", " \n", " if just_noise:\n", " return noise_ds\n",