From 990cdf17fcff7d5994197cb3156b67e8738544fd Mon Sep 17 00:00:00 2001 From: "Devin G. Bost" Date: Thu, 17 May 2018 16:40:38 -0600 Subject: [PATCH] Updated line to fix issue 893 because TF 1.8 has renamed the method, according to the comment by larsr. --- edward/util/random_variables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edward/util/random_variables.py b/edward/util/random_variables.py index 3a581505a..a706645f1 100644 --- a/edward/util/random_variables.py +++ b/edward/util/random_variables.py @@ -12,7 +12,7 @@ from edward.models import PointMass from edward.util.graphs import random_variables from tensorflow.core.framework import attr_value_pb2 -from tensorflow.python.framework.ops import set_shapes_for_outputs +from tensorflow.python.framework.ops import set_shape_and_handle_data_for_outputs as set_shapes_for_outputs from tensorflow.python.util import compat tfb = tf.contrib.distributions.bijectors