message: Fix reduction with a specified axis.
diff: @@ -840,7 +840,7 @@ class Strategy(object):
  if dim is not None:
  # By returning a python value in the static shape case, we can
  # maybe get a fast path for reducing the denominator.
  - return numer, dim
  + return numer, array_ops.constant(dim, dtype=dtypes.int64)
  elif axis < 0:
  axis = axis + array_ops.rank(v)
  if v.shape.rank == 1:
  