code: def get_inner_feature_repr(feature):
      """Utils which returns the object which should get printed in __repr__.
  
      This is used in container features (Sequence, FeatureDict) to print scalar
      Tensor in a less verbose way `Sequence(int32)` rather than
      `Sequence(Tensor(shape=(), dtype=int32))`.
  
      Args:
        feature: The feature to display
  
      Returns:
        Either the feature or it's inner value.
      """
      # We only print `int32` rather than `Tensor(shape=(), dtype=int32)`
      # * For the base `Tensor` class (and not subclass).
      # * When shape is scalar (explicit check to avoid trigger when `shape=None`).
      if (
          type(feature) == Tensor and feature.shape == ()
      ):  # pylint: disable=unidiomatic-typecheck,g-explicit-bool-comparison
          return feature_lib.dtype_to_str(feature.np_dtype)
      else:
          return repr(feature)
  
imports: from __future__ import annotations
  import enum
  import functools
  from typing import Optional, Protocol, Tuple, TypeVar, Union
  import zlib
  from etils import enp
  import numpy
  from tensorflow_datasets.core import utils
  from tensorflow_datasets.core.features import feature
  from tensorflow_datasets.core.proto import feature_pb2
  from tensorflow_datasets.core.utils import dtype_utils
  from tensorflow_datasets.core.utils import np_utils
  from tensorflow_datasets.core.utils import py_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 3 for calling a global function with example usage: get_inner_feature_repr(feature) and returns: feature_lib, repr