code: def linear_layer(input_var, output_dim):
      input_dim = input_var.shape[0]
      times_param = C.parameter(shape=(input_dim, output_dim))
      bias_param = C.parameter(shape=(output_dim))
  
      t = C.times(input_var, times_param)
      return bias_param + t
  
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 2 for calling a global function with example usage: linear_layer(input_var, output_dim) and returns: unknown