code: def _pair(v):
      if isinstance(v, Iterable):
          assert len(v) == 2, "len(v) != 2"
          return v
      return tuple(repeat(v, 2))
  
file_path: fairseq/fairseq/modules/vggblock.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  from collections.abc import Iterable
  from itertools import repeat
  import torch
  import torch.nn
label_desc: Use image node_id 1 for calling a global function with example usage: _pair(v) and returns: tuple, v