code: def get_z_and_criterion(combined_model):
      return (
          C.combine([combined_model.outputs[0].owner]),
          C.combine(
              [
                  combined_model.outputs[1].owner,
                  combined_model.outputs[2].owner,
              ]
          ),
      )
  
file_path: CNTK/Examples/Extensibility/BinaryConvolution/binary_convnet.py
imports: import os
  import sys
  import cntk
  from custom_convolution_ops import *
  from ConvNet_CIFAR10_DataAug import *
label_desc: Use image node_id 4 for calling a global function with example usage: get_z_and_criterion(combined_model) and returns: C,  C