code: def dataset_to_ndarray(dataset):
      array = list(dataset.as_numpy_iterator())
      return np.ndarray(array)
  
file_path: BigDL/python/serving/example/l08c08_forecasting_with_lstm.py
imports: import numpy
  import tensorflow
  import tensorflow.keras
label_desc: Use image node_id 7 for calling a global function with example usage: dataset_to_ndarray(dataset) and returns: np