code: def get_categorical_feature_names(example):
      """Returns a list of feature names for byte type features.
  
      Args:
        example: An example.
  
      Returns:
        A list of categorical feature names (e.g. ['education', 'marital_status'] )
      """
      features = get_example_features(example)
      return sorted(
          [
              feature_name
              for feature_name in features
              if features[feature_name].WhichOneof("kind")
              == "bytes_list"
          ]
      )
  
imports: from __future__ import division
  from __future__ import print_function
  import collections
  import copy
  import json
  import math
  from absl import logging
  import numpy
  import tensorflow
  from google.protobuf import json_format
  from six import binary_type, string_types, integer_types
  from six import iteritems
  from six.moves import zip
  from inspect import signature
  from utils import common_utils
  from utils import platform_utils
  from tensorflow_serving.apis import classification_pb2
  from tensorflow_serving.apis import inference_pb2
  from tensorflow_serving.apis import regression_pb2
label_desc: Use image node_id 6 for calling a global function with example usage: get_categorical_feature_names(example) and returns: sorted