def METHOD_NAME(shape, offset=0):
    assert len(shape) > 1
    elem_shape = shape.copy()
    seq_length = elem_shape[0]
    elem_shape[0] = 1
    elems = []
    for i in range(seq_length):
        elems.append(np.full(elem_shape, offset + i))
    return np.concatenate(elems, axis=0)