code: def make_serving_input_fn():
      """Returns serving input fn to receive tf.Example."""
      feature_spec = tf.feature_column.make_parse_example_spec(
          example_feature_columns().values()
      )
      return (
          tf_estimator.export.build_parsing_serving_input_receiver_fn(
              feature_spec
          )
      )
  
imports: from absl import flags
  import numpy
  import six
  import tensorflow
  from tensorflow import estimator
  import tensorflow_ranking
label_desc: Use image node_id 6 for calling a global function with example usage: make_serving_input_fn() and returns: tf_estimator