↓ 4 callersFunction_pad(h, w, c, pad_val, axis=-1, dtype=np.float32)
tests/test_data/test_pipelines/test_transform/test_translate.py:20
↓ 4 callersFunctionnlc_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.
mmdet/models/utils/transformer.py:34