From b86104afc505a98f91c559aa2bcfc4861a254107 Mon Sep 17 00:00:00 2001 From: Syler Date: Fri, 14 Dec 2018 20:03:34 +0800 Subject: [PATCH] Update helper.py update it to make it available in the newest version --- 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..2558ff04 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.python.ops.distributions import bernoulli +from tensorflow.python.ops.distributions import categorical from tensorflow.python.framework import dtypes from tensorflow.python.framework import ops from tensorflow.python.layers import base as layers_base