code: def get_train_val_data():
      data = get_x_y(size=1000)
      validation_data = get_x_y(size=400)
      return data, validation_data
  
imports: import tensorflow
  import numpy
  from unittest import TestCase
  from bigdl.orca.automl.auto_estimator import AutoEstimator
  import pytest
label_desc: Use image node_id 7 for calling a global function with example usage: get_train_val_data() and returns: data,  validation_data