code: def _parse_classify_log(
      classify_log: prediction_log_pb2.ClassifyLog,
      classify_output_spec: _ClassifyOutputType,
  ) -> Tuple[tf.train.Example, _FeatureListType]:
      """Parses ClassiyLog."""
      example = tf.train.Example()
      example.CopyFrom(
          classify_log.request.input.example_list.examples[0]
      )
      return example, _parse_classification_result(
          classify_log.response.result, classify_output_spec
      )
  
file_path: tfx/tfx/components/bulk_inferrer/prediction_to_example_utils.py
imports: from typing import Any, List, Tuple, Union
  import numpy
  import tensorflow
  from tfx.proto import bulk_inferrer_pb2
  from tensorflow_serving.apis import classification_pb2
  from tensorflow_serving.apis import prediction_log_pb2
label_desc: Use image node_id 3 for calling a global function with example usage: _parse_classify_log(classify_log, classify_output_spec) and returns: example,  _parse_classification_result