↓ 3 callersFunctionnchw_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.
mmdet/models/utils/transformer.py:51
↓ 2 callersMethod__init__(
self,
num_classes,
in_channels,
feat_channels=256,
stacked_convs=4,
mmdet/models/dense_heads/solo_head.py:50
↓ 2 callersFunction_check_img_seg(results, results_translated, keys, offset, fill_val,
direction)
tests/test_data/test_pipelines/test_transform/test_translate.py:289