code: def __init__(self, model_fn, params, run_config, profiling=False):
      self.model_function = model_fn
      self.params = params
      self.run_config = run_config
      self.evaluate_stop_onetime = False
      self.profiling = profiling
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import json
  import numpy
  import tensorflow
  import tf_euler
label_desc: Use image node_id 1 to create a new BaseEstimator object from inherited base classes: object with example: obj = BaseEstimator(model_fn, params, run_config, profiling)