def METHOD_NAME(dtype):
  if type(dtype) == nndct_dtypes.DType:
    tf_dtype = nndct_dtypes.to_tf(dtype)
  elif type(dtype) == tf_dtypes.DType:
    tf_dtype = dtype
  return ".".join(["tf", tf_dtypes._TYPE_TO_STRING[tf_dtype]])