Fix minor pylint issue
authorimsheridan <xiaoyudong0512@gmail.com>
Thu, 19 Apr 2018 17:37:03 +0000 (01:37 +0800)
committerimsheridan <xiaoyudong0512@gmail.com>
Thu, 19 Apr 2018 17:37:03 +0000 (01:37 +0800)
tensorflow/contrib/losses/python/losses/loss_ops.py

index 5af1f21..bdad34a 100644 (file)
@@ -652,7 +652,7 @@ def cosine_distance(predictions,
     ValueError: If `predictions` shape doesn't match `labels` shape, or
       `weights` is `None`.
   """
-  axis = deprecation.deprecated_argument_lookup(
+  axis = deprecated_argument_lookup(
       "axis", axis, "dim", dim)
   if axis is None:
     raise ValueError("You must specify 'axis'.")