code: def imagenet_load(data_dir, resize_wh, crop_wh, crops):
      return imagenet.load(
          data_dir,
          "val",
          batch_size=10 if crops == 10 else 100,
          resize_wh=resize_wh,
          crop_locs=10 if crops == 10 else 4,
          crop_wh=crop_wh,
      )
  
imports: import numpy
  import tensorflow
  import tensornets
  from tensornets.datasets import imagenet
label_desc: Use image node_id 1 for calling a global function with example usage: imagenet_load(data_dir, resize_wh, crop_wh, crops) and returns: imagenet