human
Complete the below
def get_experiment_fn(train_input_fn, eval_input_fn, train_steps, eval_steps, train_hooks):

    ''''Returns an Experiment function.
    Experiments perform training on several workers in parallel,
    in other words experiments know how to invoke train and eval in a sensible
    fashion for distributed training.'
    '''

=====
What is a the Python program you requested?
assistant
#Here is the Python program you requested.
    def _experiment_fn(run_config, hparams):
        'Returns    an    Experiment.'
        del hparams
        classifier = tf.estimator.Estimator(model_fn=_resnet_model_fn, config=run_config)
        experiment = tf.contrib.learn.Experiment(classifier, train_input_fn=train_input_fn, eval_input_fn=eval_input_fn, train_steps=train_steps, eval_steps=eval_steps)
        experiment.extend_train_hooks(train_hooks)
        return experiment
    return _experiment_fn