diff options
author | 2018-08-10 09:10:11 -0700 | |
---|---|---|
committer | 2018-08-10 09:17:38 -0700 | |
commit | f1f914128226dd23f6014e5ad29dfff4bf1c239e (patch) | |
tree | f743840d86cd5edb28ae59295d026c765c2a5599 /tensorflow/contrib/eager | |
parent | 3acadde1e41c6a544e4a70de78fa032b67adafcd (diff) |
made a small mistake while decorating with @tfe.defun. Fixing that.
PiperOrigin-RevId: 208218148
Diffstat (limited to 'tensorflow/contrib/eager')
-rw-r--r-- | tensorflow/contrib/eager/python/examples/pix2pix/pix2pix_eager.ipynb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/contrib/eager/python/examples/pix2pix/pix2pix_eager.ipynb b/tensorflow/contrib/eager/python/examples/pix2pix/pix2pix_eager.ipynb index b43c12bec2..6a0a1335ca 100644 --- a/tensorflow/contrib/eager/python/examples/pix2pix/pix2pix_eager.ipynb +++ b/tensorflow/contrib/eager/python/examples/pix2pix/pix2pix_eager.ipynb @@ -350,7 +350,7 @@ " padding='same',\n", " kernel_initializer=initializer)\n", " \n", - " @tf.contrib.eager.defun()\n", + " @tf.contrib.eager.defun\n", " def call(self, x, training):\n", " # x shape == (bs, 256, 256, 3) \n", " x1 = self.down1(x, training=training) # (bs, 128, 128, 64)\n", @@ -436,7 +436,7 @@ " strides=1,\n", " kernel_initializer=initializer)\n", " \n", - " @tf.contrib.eager.defun()\n", + " @tf.contrib.eager.defun\n", " def call(self, inp, tar, training):\n", " # concatenating the input and the target\n", " x = tf.concat([inp, tar], axis=-1) # (bs, 256, 256, channels*2)\n", |