DataBuffer.set_shape allows omitting the dtype