code: def tensor_feature(size: int, doc=None) -> tfds.features.Tensor:
      return tfds.features.Tensor(
          shape=(size,),
          dtype=np.float64,
          encoding=tfds.features.Encoding.ZLIB,
          doc=doc,
      )
  
imports: import dataclasses
  import enum
  from typing import Any, Dict, List, Mapping
  from etils import epath
  import h5py
  import numpy
  import tensorflow_datasets.public_api
  import tree
label_desc: Use image node_id 5 for calling a global function with example usage: tensor_feature(size, doc) and returns: tfds