From f35a8a2276e6c9b3b8b529eb773be3c9d2786341 Mon Sep 17 00:00:00 2001 From: "Amir H. Jadidinejad" Date: Thu, 22 Feb 2018 14:39:04 +0330 Subject: [PATCH] make compatible with TF1.5 --- seq2seq/contrib/seq2seq/helper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seq2seq/contrib/seq2seq/helper.py b/seq2seq/contrib/seq2seq/helper.py index 977d0ab9..a1ed6d81 100644 --- a/seq2seq/contrib/seq2seq/helper.py +++ b/seq2seq/contrib/seq2seq/helper.py @@ -32,8 +32,8 @@ import six -from tensorflow.contrib.distributions.python.ops import bernoulli -from tensorflow.contrib.distributions.python.ops import categorical +from tensorflow.contrib.distributions import bernoulli +from tensorflow.contrib.distributions import categorical from tensorflow.python.framework import dtypes from tensorflow.python.framework import ops from tensorflow.python.layers import base as layers_base