↓ 1 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.
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/hrformer.py:35
↓ 1 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.
engine/pose_estimation/third-party/ViTPose/mmpose/models/backbones/hrformer.py:18