code: def get_imagenet(dataset_iter):
      x, t = zip(*next(dataset_iter))
      return chx.array(x), chx.array(t)
  
file_path: chainer/chainerx_cc/examples/imagenet_py/train_imagenet.py
imports: import argparse
  import time
  import chainer.iterators
  import numpy
  import chainerx
  from image_dataset import PreprocessedDataset
  import resnet50
label_desc: Use image node_id 1 for calling a global function with example usage: get_imagenet(dataset_iter) and returns: chx,  chx