code: def pr(s):
      if rank_distrib() == 0:
          print(s)
  
file_path: fastai/nbs/examples/train_imdbclassifier.py
imports: from fastai.basics import *
  from fastai.callback.all import *
  from fastai.distributed import *
  from fastprogress import fastprogress
  from fastai.callback.mixup import *
  from fastcore.script import *
  from fastai.text.all import *
label_desc: Use image node_id 1 for calling a global function with example usage: pr(s) without return types