class_docstr: DatasetBuilder for cardiotox dataset.
docstr: Returns the dataset metadata.
docstr_tok: ["Returns","the","dataset","metadata","."]
code: def _info(self) -> tfds.core.DatasetInfo:
      """Returns the dataset metadata."""
      features = {
          _LABEL_NAME: tfds.features.Tensor(
              shape=[_NUM_CLASSES], dtype=np.int64
          ),
          _NODES_FEATURE_NAME: tfds.features.Tensor(
              shape=[_MAX_NODES, _NODE_FEATURE_LENGTH], dtype=np.float32
          ),
          _EDGES_FEATURE_NAME: tfds.features.Tensor(
              shape=[_MAX_NODES, _MAX_NODES, _EDGE_FEATURE_LENGTH],
              dtype=np.float32,
          ),
          _NODE_MASK_FEATURE_NAME: tfds.features.Tensor(
              shape=[_MAX_NODES], dtype=np.float32
          ),
          _EDGE_MASK_FEATURE_NAME: tfds.features.Tensor(
              shape=[_MAX_NODES, _MAX_NODES], dtype=np.float32
          ),
          _DISTANCE_TO_TRAIN_NAME: tfds.features.Tensor(
              shape=[1], dtype=np.float32
          ),
          _EXAMPLE_NAME: tfds.features.Tensor(shape=[], dtype=np.str_),
      }
      return tfds.core.DatasetInfo(
          builder=self,
          description=_DESCRIPTION,
          features=tfds.features.FeaturesDict(features),
          supervised_keys=None,
          homepage="https://github.com/google/uncertainty-baselines/tree/main/baselines/drug_cardiotoxicity",
          citation=_CITATION,
          metadata=tfds.core.MetadataDict(
              max_nodes=_MAX_NODES,
              node_features=_NODE_FEATURE_LENGTH,
              edge_features=_EDGE_FEATURE_LENGTH,
          ),
      )
  
file_path: datasets/tensorflow_datasets/graphs/cardiotox/cardiotox.py
imports: import os
  import numpy
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
label_desc: Use image node_id 1 for calling the Cardiotox obj's underlying member method code with example usage: obj._info() and returns: tfds