Reverses a tensor along some specified dimensions.
tensor (np.ndarray or Tensor) – The tensor that you want to reverse.
axis (List[int]) – The dimensions along which you want to reverse the tensor.
name (str, optional) – The name of the node.
The reversed tensor.