class_docstr: Test ImageLoader
class_docstr_tok: ["Test","ImageLoader"]
code: def test_png_simple_load_with_labels(self):
      loader = dc.data.ImageLoader()
      dataset = loader.create_dataset((self.face_path, np.array(1)))
      # These are the known dimensions of face.png
      assert dataset.X.shape == (1, 768, 1024, 3)
      assert (dataset.y == np.ones((1,))).all()
  
imports: import os
  import unittest
  import tempfile
  from scipy import misc
  import deepchem
  import zipfile
  import numpy
label_desc: Use image node_id 3 for calling the TestImageLoader obj's underlying member method code with example usage: obj.test_png_simple_load_with_labels() without return types