code: def np_dtype(dtype):
      """Translates dtype specifications in configurations to numpy data types.
      Args:
          dtype: String describing a numerical type (e.g. 'float') or numerical type primitive.
  
      Returns: Numpy data type
  
      """
      if dtype in np_dtype_mapping:
          return np_dtype_mapping[dtype]
      else:
          raise TensorforceError.value(
              name="util.np_dtype", argument="dtype", value=dtype
          )
  
imports: from datetime import datetime
  import importlib
  import logging
  import numpy
  import tensorflow
  from tensorforce import TensorforceError
label_desc: Use image node_id 10 for calling a global function with example usage: np_dtype(dtype) and returns: np_dtype_mapping