def METHOD_NAME():
  """A serving input fn."""
  text_features = tf.compat.v1.placeholder(dtype=tf.string, shape=[None])
  return tf_estimator.export.ServingInputReceiver(
      features={_TEXT_FEATURE_NAME: text_features},
      receiver_tensors=text_features)