original_docstring: 
      creates a bottleneck block containing `repeat + 1` shuffle units
  
      Parameters
      ----------
      x:
          Input tensor of with `channels_last` data format
      channel_map: list
          list containing the number of output channels for a stage
      repeat: int(1)
          number of repetitions for a shuffle unit with stride 1
      groups: int(1)
          number of groups per channel
      bottleneck_ratio: float
          bottleneck ratio implies the ratio of bottleneck channels to output channels.
          For example, bottleneck ratio = 1 : 4 means the output feature map is 4 times
          the width of the bottleneck feature map.
      stage: int(1)
          stage number
  
      Returns
      -------
  
      
docstring: creates a bottleneck block containing `repeat + 1` shuffle units
  Parameters
  
  Input tensor of with `channels_last` data format
  channel_map: list
  list containing the number of output channels for a stage
  repeat: int(1)
  number of repetitions for a shuffle unit with stride 1
  groups: int(1)
  number of groups per channel
  bottleneck_ratio: float
  bottleneck ratio implies the ratio of bottleneck channels to output channels.
  For example, bottleneck ratio = 1 : 4 means the output feature map is 4 times
  the width of the bottleneck feature map.
  
  Returns
docstring_tokens: creates a bottleneck block containing ` repeat + 1 ` shuffle units Parameters Input tensor of with ` channels_last ` data format channel_map : list list containing the number of output channels for a stage repeat : int ( 1 ) number of repetitions for a shuffle unit with stride 1 groups : int ( 1 ) number of groups per channel bottleneck_ratio : float bottleneck ratio implies the ratio of bottleneck channels to output channels . For example bottleneck ratio = 1 : 4 means the output feature map is 4 times the width of the bottleneck feature map . Returns
code: def _block(x, channel_map, bottleneck_ratio, repeat=1, groups=1, stage=1):
      """
      creates a bottleneck block containing `repeat + 1` shuffle units
  
      Parameters
      ----------
      x:
          Input tensor of with `channels_last` data format
      channel_map: list
          list containing the number of output channels for a stage
      repeat: int(1)
          number of repetitions for a shuffle unit with stride 1
      groups: int(1)
          number of groups per channel
      bottleneck_ratio: float
          bottleneck ratio implies the ratio of bottleneck channels to output channels.
          For example, bottleneck ratio = 1 : 4 means the output feature map is 4 times
          the width of the bottleneck feature map.
      stage: int(1)
          stage number
  
      Returns
      -------
  
      """
      x = _shuffle_unit(x, in_channels=channel_map[stage - 2],
                        out_channels=channel_map[stage - 1], strides=2,
                        groups=groups, bottleneck_ratio=bottleneck_ratio,
                        stage=stage, block=1)
  
      for i in range(1, repeat + 1):
          x = _shuffle_unit(x, in_channels=channel_map[stage - 1],
                            out_channels=channel_map[stage - 1], strides=1,
                            groups=groups, bottleneck_ratio=bottleneck_ratio,
                            stage=stage, block=(i + 1))
  
      return x
code_tokens: def _block ( x , channel_map , bottleneck_ratio , repeat = 1 , groups = 1 , stage = 1 ) : x = _shuffle_unit ( x , in_channels = channel_map [ stage - 2 ] , out_channels = channel_map [ stage - 1 ] , strides = 2 , groups = groups , bottleneck_ratio = bottleneck_ratio , stage = stage , block = 1 ) for i in range ( 1 , repeat + 1 ) : x = _shuffle_unit ( x , in_channels = channel_map [ stage - 1 ] , out_channels = channel_map [ stage - 1 ] , strides = 1 , groups = groups , bottleneck_ratio = bottleneck_ratio , stage = stage , block = ( i + 1 ) ) return x
short_docstring: creates a bottleneck block containing `repeat + 1` shuffle units
  Parameters
short_docstring_tokens: creates a bottleneck block containing ` repeat + 1 ` shuffle units Parameters
comment: """
      creates a bottleneck block containing `repeat + 1` shuffle units
  
      Parameters
      ----------
      x:
          Input tensor of with `channels_last` data format
      channel_map: list
          list containing the number of output channels for a stage
      repeat: int(1)
          number of repetitions for a shuffle unit with stride 1
      groups: int(1)
          number of groups per channel
      bottleneck_ratio: float
          bottleneck ratio implies the ratio of bottleneck channels to output channels.
          For example, bottleneck ratio = 1 : 4 means the output feature map is 4 times
          the width of the bottleneck feature map.
      stage: int(1)
          stage number
  
      Returns
      -------
  
      """