code: def __init__(self, net_param, action_param, action):
      BaseApplication.__init__(self)
      tf.logging.info("starting autoencoder application")
  
      self.action = action
  
      self.net_param = net_param
      self.action_param = action_param
  
      self.data_param = None
      self.autoencoder_param = None
  
imports: import tensorflow
  from niftynet.application.base_application import BaseApplication
  from niftynet.engine.application_factory import ApplicationNetFactory
  from niftynet.engine.application_factory import OptimiserFactory
  from niftynet.engine.application_variables import CONSOLE
  from niftynet.engine.application_variables import NETWORK_OUTPUT
  from niftynet.engine.application_variables import TF_SUMMARIES
  from niftynet.engine.sampler_linear_interpolate_v2 import LinearInterpolateSampler
  from niftynet.contrib.csv_reader.sampler_linear_interpolate_v2_csv import LinearInterpolateSamplerCSV
  from niftynet.engine.sampler_resize_v2 import ResizeSampler
  from niftynet.contrib.csv_reader.sampler_resize_v2_csv import ResizeSamplerCSV
  from niftynet.contrib.csv_reader.csv_reader import CSVReader
  from niftynet.engine.windows_aggregator_identity import WindowAsImageAggregator
  from niftynet.io.image_reader import ImageReader
  from niftynet.layer.loss_autoencoder import LossFunction
  from niftynet.utilities.util_common import look_up_operations
label_desc: Use image node_id 1 to create a new AutoencoderApplication object from inherited base classes: BaseApplication with example: obj = AutoencoderApplication(net_param, action_param, action)