code: def timeseries_config():
      return {
          "name": "timeseries_12",
          "type": "timeseries",
          "encoder": {
              "max_len": MAX_LEN,
              "embedding_size": EMBEDDING_SIZE,
              "max_sequence_length": SEQ_SIZE,
              "output_size": 8,
              "state_size": 8,
              "num_filters": 8,
              "hidden_size": 8,
          },
      }
  
file_path: ludwig/tests/ludwig/features/test_timeseries_feature.py
imports: from typing import Dict
  import pytest
  import torch
  from ludwig.constants import ENCODER, ENCODER_OUTPUT, TYPE
  from ludwig.features.timeseries_feature import TimeseriesInputFeature
  from ludwig.schema.features.timeseries_feature import TimeseriesInputFeatureConfig
  from ludwig.schema.utils import load_config_with_kwargs
  from ludwig.utils.torch_utils import get_torch_device
label_desc: Use image node_id 1 for calling a global function with example usage: timeseries_config() and returns: dict