code: def initialise_network(self):
      w_regularizer = None
      b_regularizer = None
      reg_type = self.net_param.reg_type.lower()
      decay = self.net_param.decay
      if reg_type == "l2" and decay > 0:
          from tensorflow.contrib.layers.python.layers import (
              regularizers,
          )
  
          w_regularizer = regularizers.l2_regularizer(decay)
          b_regularizer = regularizers.l2_regularizer(decay)
      elif reg_type == "l1" and decay > 0:
          from tensorflow.contrib.layers.python.layers import (
              regularizers,
          )
  
          w_regularizer = regularizers.l1_regularizer(decay)
          b_regularizer = regularizers.l1_regularizer(decay)
  
      self.net = ApplicationNetFactory.create(self.net_param.name)(
          num_classes=1,
          w_regularizer=w_regularizer,
          b_regularizer=b_regularizer,
          acti_func=self.net_param.activation_function,
      )
  
      self.net2 = ApplicationNetFactory.create(self.net2_param.name)(
          num_classes=1,
          w_regularizer=w_regularizer,
          b_regularizer=b_regularizer,
          acti_func=self.net2_param.activation_function,
      )
  
imports: import tensorflow
  import copy
  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_grid_v2 import GridSampler
  from niftynet.engine.sampler_resize_v2 import ResizeSampler
  from niftynet.engine.sampler_uniform_v2 import UniformSampler
  from niftynet.engine.sampler_weighted_v2 import WeightedSampler
  from niftynet.engine.windows_aggregator_grid import GridSamplesAggregator
  from niftynet.engine.windows_aggregator_resize import ResizeSamplesAggregator
  from niftynet.io.image_reader import ImageReader
  from niftynet.layer.crop import CropLayer
  from niftynet.layer.histogram_normalisation import HistogramNormalisationLayer
  from niftynet.layer.loss_regression import LossFunction
  from niftynet.layer.mean_variance_normalisation import MeanVarNormalisationLayer
  from niftynet.layer.pad import PadLayer
  from niftynet.layer.post_processing import PostProcessingLayer
  from niftynet.layer.rand_flip import RandomFlipLayer
  from niftynet.layer.rand_rotation import RandomRotationLayer
  from niftynet.layer.rand_spatial_scaling import RandomSpatialScalingLayer
label_desc: Use image node_id 11 for calling the RegressionRecApplication obj's underlying member method code with example usage: obj.initialise_network() without return types