aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/eager/python/examples/pix2pix/pix2pix_eager.ipynb
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/contrib/eager/python/examples/pix2pix/pix2pix_eager.ipynb')
-rw-r--r--tensorflow/contrib/eager/python/examples/pix2pix/pix2pix_eager.ipynb4
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",