code: def noise_sample(num_samples):
      return np.random.uniform(
          low=-1.0, high=1.0, size=[num_samples, g_input_dim]
      ).astype(np.float32)
  
file_path: CNTK/Examples/Image/GAN/Basic_GAN_Distributed.py
imports: import matplotlib
  import matplotlib.pyplot
  import numpy
  import os
  import argparse
  import cntk
  import cntk.tests.test_utils
  from timeit import default_timer
label_desc: Use image node_id 2 for calling a global function with example usage: noise_sample(num_samples) and returns: np