code: def one_hot(labels, num_classes):
      return eye(num_classes, dtype=_np.dtype("uint8"))[labels]
  
imports: from ._dispatch import BACKEND_NAME, _common
  from ._dispatch import numpy
label_desc: Use image node_id 9 for calling a global function with example usage: one_hot(labels, num_classes) and returns: eye