code: def train_input_fn(training_dir, hyperparameters):
      """Returns input function that would feed the model during training"""
      return _generate_input_fn(
          training_dir, "iris_training.csv", hyperparameters
      )
  
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 3 for calling a global function with example usage: train_input_fn(training_dir, hyperparameters) and returns: _generate_input_fn