code: def _make_stage(
      self, in_channels, out_channels, n_blocks, block, stride, preact
  ):
      stage = nn.Sequential()
      for index in range(n_blocks):
          block_name = "block{}".format(index + 1)
          if index == 0:
              stage.add_module(
                  block_name,
                  block(
                      in_channels,
                      out_channels,
                      stride=stride,
                      remove_first_relu=self._remove_first_relu,
                      add_last_bn=self._add_last_bn,
                      preact=preact,
                  ),
              )
          else:
              stage.add_module(
                  block_name,
                  block(
                      out_channels,
                      out_channels,
                      stride=1,
                      remove_first_relu=self._remove_first_relu,
                      add_last_bn=self._add_last_bn,
                      preact=False,
                  ),
              )
      return stage
  
imports: import torch
  import torch.nn
  import torch.nn.functional
  from collections import OrderedDict
label_desc: Use image node_id 2 for calling the Network obj's underlying member method code with example usage: obj._make_stage(in_channels, out_channels, n_blocks, block, stride, preact) and returns: stage