class_docstr: `FeatureConnector` for integer class labels.
docstr: Conversion integer => class name string.
docstr_tok: ["Conversion","integer","=",">","class","name","string","."]
code: def int2str(self, int_value: int) -> str:
      """Conversion integer => class name string."""
      if self._int2str:
          # Maybe should support batched np array/eager tensors, to allow things
          # like
          # out_ids = model(inputs)
          # labels = cifar10.info.features['label'].int2str(out_ids)
          return self._int2str[int_value]
  
      # No names provided, return str(int)
      if not 0 <= int_value < self._num_classes:
          raise ValueError("Invalid integer class label %d" % int_value)
      return str(int_value)
  
imports: from typing import Optional, Union
  from etils import epath
  import numpy
  from tensorflow_datasets.core.features import feature
  from tensorflow_datasets.core.features import tensor_feature
  from tensorflow_datasets.core.proto import feature_pb2
  from tensorflow_datasets.core.utils import type_utils
label_desc: Use image node_id 6 for calling the ClassLabel obj's underlying member method code with example usage: obj.int2str(int_value) and returns: str, self