code: def one_hot(indices: int, num_classes: int) -> np.ndarray:
      """:return: A one-hot encoded vector."""
      vec = np.zeros((num_classes,), dtype=np.int64)
      vec[indices] = 1
      return vec
  
label_desc: Use image node_id 1 for calling a global function with example usage: one_hot(indices, num_classes) and returns: vec