code: def test_sigmoid_postprocess_to_zero_one():
      postprocessor = postprocessors.SigmoidPostprocessor()
  
      y = postprocessor.postprocess(np.random.rand(10, 3))
  
      assert set(y.flatten().tolist()) == set([1, 0])
  
file_path: autokeras/autokeras/preprocessors/postprocessors_test.py
imports: import numpy
  import tensorflow
  from autokeras import preprocessors
  from autokeras.preprocessors import postprocessors
label_desc: Use image node_id 1 for calling a global function with example usage: test_sigmoid_postprocess_to_zero_one() without return types