code: def create_data():
      train_num_samples = 1000
      test_num_samples = 400
      past_seq_len = 20
      input_feature_num = 10
      output_feature_num = 2
      future_seq_len = 10
  
      def get_x_y(num_samples):
          x = np.random.randn(
              num_samples, past_seq_len, input_feature_num
          )
          y = np.random.randn(
              num_samples, future_seq_len, output_feature_num
          )
          return x, y
  
      train_data = get_x_y(train_num_samples)
      test_data = get_x_y(test_num_samples)
      return train_data, test_data
  
file_path: BigDL/python/chronos/test/bigdl/chronos/model/tf2/test_tcn_keras.py
imports: import tempfile
  import numpy
  import pytest
  from ...None import op_tf2
  from unittest import TestCase
  from bigdl.chronos.utils import LazyImport
label_desc: Use image node_id 1 for calling a global function with example usage: create_data() and returns: train_data,  test_data, x,  y