code: def round_repeats(repeats, global_params):
      """Calculate module's repeat number of a block based on depth multiplier.
         Use depth_coefficient of global_params.
  
      Args:
          repeats (int): num_repeat to be calculated.
          global_params (namedtuple): Global params of the model.
  
      Returns:
          new repeat: New repeat number after calculating.
      """
      multiplier = global_params.depth_coefficient
      if not multiplier:
          return repeats
      # follow the formula transferred from official TensorFlow implementation
      return int(math.ceil(multiplier * repeats))
  
imports: import re
  import math
  import collections
  from functools import partial
  import torch
  from torch import nn
  from torch.nn import functional
  from torch.utils import model_zoo
label_desc: Use image node_id 2 for calling a global function with example usage: round_repeats(repeats, global_params) and returns: int, repeats