message: Fix deprecated GCD warning.
diff: @@ -18,7 +18,9 @@ from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  -import fractions
  +import fractions # gcd is here for Python versions < 3
  +import math # Get gcd here for Python versions >= 3
  +import sys
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor_util
  @@ -59,7 +61,11 @@ def gcd(a, b, name=None):
  const_a = tensor_util.constant_value(a)
  const_b = tensor_util.constant_value(b)
  if const_a is not None and const_b is not None:
  - return ops.convert_to_tensor(fractions.gcd(const_a, const_b))
  + if sys.version_info.major < 3:
  + math_gcd = fractions.gcd
  + else:
  + math_gcd = math.gcd
  + return ops.convert_to_tensor(math_gcd(const_a, const_b))
  cond = lambda _, b: math_ops.greater(b, array_ops.zeros_like(b))
  body = lambda a, b: [b, math_ops.mod(a, b)]
  