class_docstr: ### Description
      This is a generic fully-connected decoder.
class_docstr_tok: ["#","#","#","Description","This","is","a","generic","fully-connected","decoder","."]
docstr: :param layer_sizes_decoder: array, number of output channels for each decoding FC layer
  :param acti_func_decoder: array, activation functions for each decoding FC layer
  :param w_initializer: weight initialisation for network
  :param w_regularizer: weight regularisation for network
  :param b_initializer: bias initialisation for network
  :param b_regularizer: bias regularisation for network
  :param name: layer name
docstr_tok: [":","param","layer_sizes_decoder",":","array",",","number","of","output","channels","for","each","decoding","FC","layer",":","param","acti_func_decoder",":","array",",","activation","functions","for","each","decoding","FC","layer",":","param","w_initializer",":","weight","initialisation","for","network",":","param","w_regularizer",":","weight","regularisation","for","network",":","param","b_initializer",":","bias","initialisation","for","network",":","param","b_regularizer",":","bias","regularisation","for","network",":","param","name",":","layer","name"]
code: def __init__(
      self,
      layer_sizes_decoder,
      acti_func_decoder,
      w_initializer=None,
      w_regularizer=None,
      b_initializer=None,
      b_regularizer=None,
      name="FCDecoder",
  ):
      """
  
      :param layer_sizes_decoder: array, number of output channels for each decoding FC layer
      :param acti_func_decoder: array, activation functions for each decoding FC layer
      :param w_initializer: weight initialisation for network
      :param w_regularizer: weight regularisation for network
      :param b_initializer: bias initialisation for network
      :param b_regularizer: bias regularisation for network
      :param name: layer name
      """
  
      super(FCDecoder, self).__init__(name=name)
  
      self.layer_sizes_decoder = layer_sizes_decoder
      self.acti_func_decoder = acti_func_decoder
  
      self.initializers = {"w": w_initializer, "b": b_initializer}
      self.regularizers = {"w": w_regularizer, "b": b_regularizer}
  
imports: from __future__ import absolute_import, print_function, division
  import numpy
  import tensorflow
  from niftynet.layer.base_layer import TrainableLayer
  from niftynet.layer.convolution import ConvolutionalLayer
  from niftynet.layer.deconvolution import DeconvolutionalLayer
  from niftynet.layer.fully_connected import FullyConnectedLayer
  from niftynet.layer.upsample import UpSampleLayer
label_desc: Use image node_id 1 to create a new FCDecoder object from inherited base classes: TrainableLayer with example: obj = FCDecoder(layer_sizes_decoder, acti_func_decoder, w_initializer, w_regularizer, b_initializer, b_regularizer, name)