class_docstr: ### Description
      This is a generic fully-connected decoder.
class_docstr_tok: ["#","#","#","Description","This","is","a","generic","fully-connected","decoder","."]
docstr: :param codes: tensor, input latent codes
  :param is_training: boolean, True if network is in training mode
  :return: tensor, output of series of FC layers
docstr_tok: [":","param","codes",":","tensor",",","input","latent","codes",":","param","is_training",":","boolean",",","True","if","network","is","in","training","mode",":","return",":","tensor",",","output","of","series","of","FC","layers"]
code: def layer_op(self, codes, is_training):
      """
  
      :param codes: tensor, input latent codes
      :param is_training: boolean, True if network is in training mode
      :return: tensor, output of series of FC layers
      """
  
      # Define the decoding fully-connected layers
      decoders_fc = []
      for i in range(0, len(self.layer_sizes_decoder)):
          decoders_fc.append(
              FullyConnectedLayer(
                  n_output_chns=self.layer_sizes_decoder[i],
                  with_bias=True,
                  feature_normalization="batch",
                  acti_func=self.acti_func_decoder[i],
                  w_initializer=self.initializers["w"],
                  w_regularizer=self.regularizers["w"],
                  name="FCDecoder_fc_{}".format(
                      self.layer_sizes_decoder[i]
                  ),
              )
          )
          print(decoders_fc[-1])
  
      # Fully-connected decoder layers
      flow = codes
      for i in range(0, len(self.layer_sizes_decoder)):
          flow = decoders_fc[i](flow, is_training)
  
      return flow
  
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 2 for calling the FCDecoder obj's underlying member method code with example usage: obj.layer_op(codes, is_training) and returns: flow