class_docstr: Test ImageLoader
class_docstr_tok: ["Test","ImageLoader"]
code: def test_tif_simple_load_with_label_as_image(self):
      loader = dc.data.ImageLoader()
      dataset = loader.create_dataset(
          (self.tif_image_path, self.tif_image_path)
      )
      # These are the known dimensions of a_image.tif
      assert dataset.X.shape == (1, 44, 330)
      assert dataset.y.shape == (1, 44, 330)
  
imports: import os
  import unittest
  import tempfile
  from scipy import misc
  import deepchem
  import zipfile
  import numpy
label_desc: Use image node_id 7 for calling the TestImageLoader obj's underlying member method code with example usage: obj.test_tif_simple_load_with_label_as_image() without return types