parameters: (dtype)
return_statement: return str(dtype)
docstring: Returns the string name for this `dtype`.
docstring_summary: Returns the string name for this `dtype`.
docstring_tokens: Returns the string name for this dtype .
function: def dtype_name(dtype):
    """Returns the string name for this `dtype`."""
    dtype = dtypes.as_dtype(dtype)
    if hasattr(dtype, "name"):
      return dtype.name
    if hasattr(dtype, "__name__"):
      return dtype.__name__
    return str(dtype)
function_tokens: def dtype_name ( dtype ) : dtype = dtypes . as_dtype ( dtype ) if hasattr ( dtype , "name" ) : return dtype . name if hasattr ( dtype , "__name__" ) : return dtype . __name__ return str ( dtype )