code: def one_hot(x, k, dtype=np.float32):
      """Create a one-hot encoding of x of size k."""
      return np.array(x[:, None] == np.arange(k), dtype)
  
label_desc: Use image node_id 1 for calling a global function with example usage: one_hot(x, k, dtype) and returns: np