code: def _to_dtype(datatype: str) -> "np.dtype":
      dtype = _DatatypeToNumpy[datatype]
      return np.dtype(dtype)
  
file_path: serve/ts/torch_handler/request_envelope/kservev2.py
imports: import json
  import logging
  import numpy
  from .base import BaseEnvelope
label_desc: Use image node_id 1 for calling a global function with example usage: _to_dtype(datatype) and returns: np