code: def broadcast(dataset, metadata):
      new_metadata = []
  
      for _, _, _, ids in dataset.itershards():
          for idx in ids:
              new_metadata.append(metadata[idx])
  
      return new_metadata
  
file_path: deepchem/examples/roitberg/roitberg.py
imports: import numpy
  import os
  import tensorflow
  import deepchem
  import pyanitools
  import app
label_desc: Use image node_id 3 for calling a global function with example usage: broadcast(dataset, metadata) and returns: new_metadata