code: def numpy_reverse(x, axis):
      length = len(x.shape)
      if axis < 0:
          axis = length + axis
  
      ix = [
          slice(None, None, -1) if i == axis else slice(None)
          for i in range(length)
      ]
      return x[tuple(ix)]
  
imports: import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors_impl
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import gradient_checker
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling a global function with example usage: numpy_reverse(x, axis) and returns: x