code: def fully_connected_classifier_net(
      inp,
      num_output_classes,
      hidden_layer_dim,
      num_hidden_layers,
      nonlinearity,
  ):
      h = dense_layer(inp, hidden_layer_dim, nonlinearity)
      for i in range(1, num_hidden_layers):
          h = dense_layer(h, hidden_layer_dim, nonlinearity)
      r = linear_layer(h, num_output_classes)
      return r
  
imports: from __future__ import division, print_function
  import numpy
  import cntk
  from cntk.ops.tests.ops_test_utils import cntk_device, mem_used, os_process
  from cntk.ops.functions import UserFunction
  from cntk import sigmoid
label_desc: Use image node_id 4 for calling a global function with example usage: fully_connected_classifier_net(inp, num_output_classes, hidden_layer_dim, num_hidden_layers, nonlinearity) and returns: r