code: public static DataBuffer stride(DataBuffer buffer) {
          int rank = rank(buffer);
          return Nd4j.createBuffer(buffer, 1 + rank, rank);
      }
docs: Get the shape from
  the given int buffer
  @param buffer the buffer to get the shape information for
  @return