code: def log(s, nl=True):
      if hvd.rank() != 0:
          return
      print(s, end="\n" if nl else "")
  
file_path: horovod/examples/elastic/pytorch/pytorch_synthetic_benchmark_elastic.py
imports: import argparse
  import torch.backends.cudnn
  import torch.nn.functional
  import torch.optim
  import torch.utils.data.distributed
  from torchvision import models
  import horovod.torch
  import timeit
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: log(s, nl) without return types