docstr: HRNet network, see https://arxiv.org/abs/1902.09212
  
  Args:
      backbone (nn.Layer): backbone instance
      post_process (object): `HRNetPostProcess` instance
      flip_perm (list): The left-right joints exchange order list
      use_dark(bool): Whether to use DARK in post processing
docstr_tok: ["HRNet","network",",","see","https",":","\/\/arxiv.org\/abs\/1902.09212","Args",":","backbone","(","nn.Layer",")",":","backbone","instance","post_process","(","object",")",":","`","HRNetPostProcess","`","instance","flip_perm","(","list",")",":","The","left-right","joints","exchange","order","list","use_dark","(","bool",")",":","Whether","to","use","DARK","in","post","processing"]
code: def __init__(
      self,
      width,
      num_joints,
      backbone="HRNet",
      loss="KeyPointMSELoss",
      post_process="HRNetPostProcess",
      flip_perm=None,
      flip=True,
      shift_heatmap=True,
      use_dark=True,
  ):
      """
      HRNet network, see https://arxiv.org/abs/1902.09212
  
      Args:
          backbone (nn.Layer): backbone instance
          post_process (object): `HRNetPostProcess` instance
          flip_perm (list): The left-right joints exchange order list
          use_dark(bool): Whether to use DARK in post processing
      """
      super(TopDownHRNet, self).__init__()
      self.backbone = backbone
      self.post_process = HRNetPostProcess(use_dark)
      self.loss = loss
      self.flip_perm = flip_perm
      self.flip = flip
      self.final_conv = L.Conv2d(width, num_joints, 1, 1, 0, bias=True)
      self.shift_heatmap = shift_heatmap
      self.deploy = False
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import paddle
  import numpy
  import math
  import cv2
  from ppdet.core.workspace import register, create
  from .meta_arch import BaseArch
  from ..keypoint_utils import transform_preds
  from ..None import layers
  from paddle.nn import functional
label_desc: Use image node_id 1 to create a new TopDownHRNet object from inherited base classes: BaseArch with example: obj = TopDownHRNet(width, num_joints, backbone, loss, post_process, flip_perm, flip, shift_heatmap, use_dark)