code: def __init__(
      self,
      num_branches,
      blocks,
      num_blocks,
      num_inchannels,
      num_channels,
      fuse_method,
      multi_scale_output=True,
  ):
      super(HighResolutionModule, self).__init__()
      self._check_branches(
          num_branches, blocks, num_blocks, num_inchannels, num_channels
      )
  
      self.num_inchannels = num_inchannels
      self.fuse_method = fuse_method
      self.num_branches = num_branches
  
      self.multi_scale_output = multi_scale_output
  
      self.branches = self._make_branches(
          num_branches, blocks, num_blocks, num_channels
      )
      self.fuse_layers = self._make_fuse_layers()
      self.relu = nn.ReLU(inplace=relu_inplace)
  
imports: import os
  import logging
  import numpy
  import torch
  import torch.nn
  import torch._utils
  import torch.nn.functional
  from .bn_helper import BatchNorm2d, BatchNorm2d_class, relu_inplace
label_desc: Use image node_id 1 to create a new HighResolutionModule object from inherited base classes: nn with example: obj = HighResolutionModule(num_branches, blocks, num_blocks, num_inchannels, num_channels, fuse_method, multi_scale_output)