code: def _get_nccl_type_id(dtype):
      if dtype == np.float16:
          return nccl.NCCL_FLOAT16
      elif dtype == np.float32:
          return nccl.NCCL_FLOAT32
      elif dtype == np.float64:
          return nccl.NCCL_FLOAT64
      else:
          raise ValueError(
              "dtype must be float16, float32, or float64."
          )
  
file_path: chainer/chainermn/communicators/_communication_utility.py
imports: from chainermn import nccl
  import collections
  import numpy
  import pickle
  import mpi4py.MPI
label_desc: Use image node_id 7 for calling a global function with example usage: _get_nccl_type_id(dtype) and returns: nccl, nccl, nccl