code: def _make_residual(
      self, block: Type[Bottleneck2D], num_blocks: int, planes: int
  ) -> Module:
      layers = []
      for _ in range(0, num_blocks):
          layers.append(block(planes * self.expansion, planes))
      return nn.Sequential(*layers)
  
imports: from typing import Any, Dict, List, NamedTuple, Optional, Tuple, Type, Union
  import torch
  import torch.nn.functional
  from torch import nn
  from torch.nn.functional import pixel_shuffle, softmax
  from kornia.core import Module, Tensor
label_desc: Use image node_id 2 for calling the Hourglass obj's underlying member method code with example usage: obj._make_residual(block, num_blocks, planes) and returns: nn