code: def get_train_val_data():
      def get_x_y(size):
          input_size = 50
          x1 = np.random.randn(size // 2, input_size)
          x2 = np.random.randn(size // 2, input_size) + 1.5
          x = np.concatenate([x1, x2], axis=0)
          y1 = np.zeros((size // 2, 1))
          y2 = np.ones((size // 2, 1))
          y = np.concatenate([y1, y2], axis=0)
          return x, y
  
      train_data = get_x_y(size=1000)
      val_data = get_x_y(size=400)
      return train_data, val_data
  
file_path: analytics-zoo/pyzoo/zoo/examples/orca/automl/autoestimator/autoestimator_pytorch.py
imports: import numpy
  import argparse
  import torch
  import torch.nn
  from zoo.orca.automl.auto_estimator import AutoEstimator
  from zoo.orca.automl.pytorch_utils import LR_NAME
  from zoo.orca import init_orca_context, stop_orca_context
label_desc: Use image node_id 3 for calling a global function with example usage: get_train_val_data() and returns: train_data,  val_data, x,  y