code: def create_data():
      num_train_samples = 1000
      num_val_samples = 400
      num_test_samples = 400
      input_time_steps = 24
      input_feature_dim = 4
      output_time_steps = np.random.randint(1, 5)
      output_feature_dim = np.random.randint(1, 4)
  
      def get_x_y(num_samples):
          x = np.random.rand(
              num_samples, input_time_steps, input_feature_dim
          )
          y = np.random.randn(
              num_samples, output_time_steps, output_feature_dim
          )
          return x, y
  
      train_data = get_x_y(num_train_samples)
      val_data = get_x_y(num_val_samples)
      test_data = get_x_y(num_test_samples)
      return train_data, val_data, test_data
  
file_path: BigDL/python/chronos/test/bigdl/chronos/model/test_tcn.py
imports: from unittest import TestCase
  from bigdl.chronos.utils import LazyImport
  import numpy
  import tempfile
  import os
  from ..None import op_torch, op_distributed
label_desc: Use image node_id 1 for calling a global function with example usage: create_data() and returns: train_data,  val_data,  test_data, x,  y