class_docstr: Reverses the order of the input tensor ``x`` along specified ``axes``(dimensions).
  
  Parameters
  ----------
  x: tensor<*?, T> (Required)
      * Input tensor.
  axes: const<D, i32> Optional
      * Dimension(s) to reverse. Each axis must be in the range ``[-rank(x), rank(x)]``.
      * Defaults to None (reverse on all dimensions).
  
  Returns
  ------
  tensor<*?, T>
      - same type and shape as the input tensor.
  
  Attributes
  ----------
  T: fp32
code: def type_inference(self):
      return self.x.sym_type
  
imports: import functools
  import sympy
  from coremltools.converters.mil.mil.types.symbolic import is_symbolic, isscalar, any_symbolic, any_variadic
  from coremltools.converters.mil.mil import get_new_symbol, get_new_variadic_symbol, VALUE, SYMBOL, types
  from ._op_reqs import *
label_desc: Use image node_id 2 for calling the reverse obj's underlying member method code with example usage: obj.type_inference() and returns: self