class_docstr: This layer operation converts the raw network outputs into final inference
  results.
code: def num_output_channels(self):
      assert self._op._variables_created
      if self.func == "SOFTMAX":
          return self.num_classes
      else:
          return 1
  
file_path: NiftyNet/niftynet/layer/post_processing.py
imports: from __future__ import absolute_import, print_function
  import tensorflow
  from niftynet.layer.base_layer import Layer
  from niftynet.utilities.util_common import look_up_operations
label_desc: Use image node_id 2 for calling the PostProcessingLayer obj's underlying member method code with example usage: obj.num_output_channels() and returns: self, int