code: def _sequence(
      shape_size: Optional[int] = None, dtype: Optional[tf.DType] = None
  ) -> tf.io.FixedLenSequenceFeature:
      if dtype is None:
          dtype = tf.float32
      if shape_size:
          shape = [shape_size]
      else:
          shape = []
      return tf.io.FixedLenSequenceFeature(
          shape, dtype, allow_missing=True
      )
  
file_path: datasets/tensorflow_datasets/rl_unplugged/rlu_locomotion/rlu_locomotion.py
imports: from __future__ import annotations
  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(shape_size, dtype) and returns: tf