code: def read_file_and_cast(file_path):
      with open(file_path, "r") as file:
          d = file.readline()
          data_list = list(map(lambda s: float(s), d.split(", ")))
          return data_list
  
imports: import os
  import tarfile
  import tempfile
  import shutil
  from unittest import TestCase
  import numpy
  from bigdl.dllib.feature.dataset.base import maybe_download
  from bigdl.dllib.nncontext import init_nncontext
  from bigdl.orca.data import SparkXShards
  from bigdl.orca.learn.openvino import Estimator
label_desc: Use image node_id 1 for calling a global function with example usage: read_file_and_cast(file_path) and returns: data_list