code: def maybe_repeat(arg, n_reps):
      if not isinstance(arg, abc.Sequence):
          arg = (arg,) * n_reps
      return arg
  
file_path: scenic/scenic/dataset_lib/big_transfer/preprocessing/utils.py
imports: from collections import abc
  import functools
  import tensorflow.compat.v1
label_desc: Use image node_id 1 for calling a global function with example usage: maybe_repeat(arg, n_reps) and returns: arg