def METHOD_NAME(_):
  # Python creates a dummy thread object to represent the current
  # thread when called from an "alien" thread (such as a
  # `PrivateThreadPool` thread in this case). It does not include
  # the TensorFlow-given display name, but it has a unique
  # identifier that maps one-to-one with the underlying OS thread.
  return np.array(threading.current_thread().ident).astype(np.int64)