code: def _build_infinite_size_dataloader(dataloader):
      """Build a looped dataloader with infinite size."""
  
      iterator = dataloader.__iter__()
      while True:
          try:
              yield iterator.__next__()
          except StopIteration:
              iterator = dataloader.__iter__()
  
imports: import torch
  import torch.nn.functional
  from megatron import get_args
  from megatron import print_rank_0
  from megatron import get_timers
  from megatron import utils
  from megatron.core import mpu
  from megatron.checkpointing import load_checkpoint
  from megatron.checkpointing import save_checkpoint
  from megatron.training import evaluate_and_print_results
  from megatron.training import setup_model_and_optimizer
  from megatron.training import train_step
  from megatron.training import training_log
  from megatron.utils import check_adlr_autoresume_termination
  from megatron.utils import average_losses_across_data_parallel_group, print_params_min_max_norm
  from megatron.core.enums import ModelType
label_desc: Use image node_id 3 for calling a global function with example usage: _build_infinite_size_dataloader(dataloader) without return types