code: def _sequence_feature(
      size: Optional[int] = None,
  ) -> tf.io.FixedLenSequenceFeature:
      if size:
          shape = [size]
      else:
          shape = []
      return tf.io.FixedLenSequenceFeature(
          shape, dtype=tf.float32, allow_missing=True
      )
  
file_path: datasets/tensorflow_datasets/rl_unplugged/rlu_control_suite/rlu_control_suite.py
imports: from __future__ import annotations
  import dataclasses
  from typing import Any, Dict, Optional
  import numpy
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
  from tensorflow_datasets.rl_unplugged import rlu_common
label_desc: Use image node_id 1 for calling a global function with example usage: _sequence_feature(size) and returns: tf