code: def get_dtype(*, type):
      if type not in DTYPE_MAPPING:
          raise TensorforceError.value(
              name="tf_util.cast",
              argument="type",
              value=type,
              hint="not in {{{}}}".format(",".join(DTYPE_MAPPING)),
          )
      return DTYPE_MAPPING[type]
  
file_path: tensorforce/tensorforce/core/utils/tf_util.py
imports: import tensorflow
  from tensorforce import TensorforceError
label_desc: Use image node_id 2 for calling a global function with example usage: get_dtype() and returns: DTYPE_MAPPING