code: def get_instance_features(seq_length: int):
      return {
          "mass": tf.float32,
          "friction": tf.float32,
          "restitution": tf.float32,
          "positions": tfds.features.Tensor(
              shape=(seq_length, 3), dtype=tf.float32
          ),
          "quaternions": tfds.features.Tensor(
              shape=(seq_length, 4), dtype=tf.float32
          ),
          "velocities": tfds.features.Tensor(
              shape=(seq_length, 3), dtype=tf.float32
          ),
          "angular_velocities": tfds.features.Tensor(
              shape=(seq_length, 3), dtype=tf.float32
          ),
          "bboxes_3d": tfds.features.Tensor(
              shape=(seq_length, 8, 3), dtype=tf.float32
          ),
          "image_positions": tfds.features.Tensor(
              shape=(seq_length, 2), dtype=tf.float32
          ),
          "bboxes": tfds.features.Sequence(tfds.features.BBoxFeature()),
          "bbox_frames": tfds.features.Sequence(
              tfds.features.Tensor(shape=(), dtype=tf.int32)
          ),
          "visibility": tfds.features.Tensor(
              shape=(seq_length,), dtype=tf.uint16
          ),
      }
  
imports: import dataclasses
  import json
  import logging
  import imageio
  import numpy
  import png
  import tensorflow
  import tensorflow_datasets.public_api
  from typing import List, Dict, Union
label_desc: Use image node_id 6 for calling a global function with example usage: get_instance_features(seq_length) and returns: dict