code: def _add_dataset_lvl(tensor_info):
      """Add the dataset nesting level to the tensor_info."""
      tensor_info = feature_lib.TensorInfo.copy_from(tensor_info)
      tensor_info.dataset_lvl += 1
      return tensor_info
  
imports: from __future__ import annotations
  import dataclasses
  import functools
  from typing import Any, Callable, Dict, Iterator, Union
  from tensorflow_datasets.core.data_sources import python
  from tensorflow_datasets.core.features import feature
  from tensorflow_datasets.core.features import sequence_feature
  from tensorflow_datasets.core.features import tensor_feature
  from tensorflow_datasets.core.features import top_level_feature
  from tensorflow_datasets.core.utils import py_utils
  from tensorflow_datasets.core.utils import tree_utils
  from tensorflow_datasets.core.utils import type_utils
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
label_desc: Use image node_id 1 for calling a global function with example usage: _add_dataset_lvl(tensor_info) and returns: tensor_info