code: def test_pipeline_postprocess_one_hot_to_labels():
      pipeline = pipeline_module.Pipeline(
          inputs=[[]],
          outputs=[[preprocessors.OneHotEncoder(["a", "b", "c"])]],
      )
      assert np.array_equal(
          pipeline.postprocess(np.eye(3)), [["a"], ["b"], ["c"]]
      )
  
imports: import numpy
  from autokeras import pipeline
  from autokeras import preprocessors
label_desc: Use image node_id 1 for calling a global function with example usage: test_pipeline_postprocess_one_hot_to_labels() without return types