code: def _get_nccl_data_type(dtype):
      """Get data type for NCCL"""
  
      if dtype == numpy.float32:
          nccl_data_type = nccl.NCCL_FLOAT
      elif dtype == numpy.float16:
          nccl_data_type = nccl.NCCL_HALF
      elif dtype == numpy.float64:
          nccl_data_type = nccl.NCCL_DOUBLE
      else:
          raise RuntimeError("Unexpected data type:{}".format(dtype))
  
      return nccl_data_type
  
imports: import multiprocessing
  import warnings
  import numpy
  import six
  import chainer
  from chainer.backends import cuda
  from chainer.dataset import convert
  from chainer import reporter
  from chainer.training.updaters import standard_updater
label_desc: Use image node_id 11 for calling a global function with example usage: _get_nccl_data_type(dtype) and returns: nccl_data_type