code: public static int elementWiseStride(IntBuffer buffer) {
          int length2 = shapeInfoLength(buffer.get(0));
          return buffer.get(length2 - 2);
      }
docs: Get the element wise stride for the
  shape info buffer
  @param buffer the buffer to get the element
  wise stride from
  @return the element wise stride for the buffer