Methodmulti_image_chat(self, tokenizer, pixel_values, image_counts, question, generation_config, history=None,
mmdet3d/models/internvl_model/internvl_chat/modeling_internvl_chat.py:280
Functionnchw_to_nlcFlatten [N, C, H, W] shape tensor to [N, L, C] shape tensor. Args: x (Tensor): The input tensor of shape [N, C, H, W] before conversion.
mmdet3d/models/utils/transformer_codetr.py:51
Functionnlc_to_nchwConvert [N, L, C] shape tensor to [N, C, H, W] shape tensor. Args: x (Tensor): The input tensor of shape [N, L, C] before conversion.
mmdet3d/models/utils/transformer_codetr.py:34