↓ 2 callersFunctionget_2d_sincos_pos_embed grid_size: int of the grid height and width return: pos_embed: [grid_size*grid_size, embed_dim] or [1+grid_size*grid_size, embed_dim] (w/
smallthinker/tools/mtmd/legacy-models/minicpmv-convert-image-encoder-to-gguf.py:683