code: def serving_input_fn(hyperparameters):
      input_tensor_name = hyperparameters["input_tensor_name"]
      feature_spec = {
          input_tensor_name: tf.FixedLenFeature(
              dtype=tf.float32, shape=[4]
          )
      }
      return (
          tf.estimator.export.build_parsing_serving_input_receiver_fn(
              feature_spec
          )()
      )
  
file_path: sagemaker-python-sdk/tests/data/iris/iris-dnn-classifier.py
imports: from __future__ import absolute_import
  import numpy
  import os
  import tensorflow
label_desc: Use image node_id 2 for calling a global function with example usage: serving_input_fn(hyperparameters) and returns: tf