docs: @Override
      public INDArray rot(INDArray reverse) {
          INDArray ret = Nd4j.create(reverse.shape());
          if (reverse.isVector())
              return reverse(reverse);
          else {
              for (int i = 0; i < reverse.slices(); i++) {
                  ret.putSlice(i, reverse(reverse.slice(i)));
              }
          }
          return ret.reshape(reverse.shape());
      }