code: def _input_placeholder():
      """
      This helper function declares a TF placeholder for the graph input data
      :return: TF placeholder for the graph input data
      """
      if FLAGS.dataset == "mnist":
          image_size = 28
          num_channels = 1
      else:
          image_size = 32
          num_channels = 3
  
      # Declare data placeholder
      train_node_shape = (
          FLAGS.batch_size,
          image_size,
          image_size,
          num_channels,
      )
      return tf.placeholder(tf.float32, shape=train_node_shape)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from datetime import datetime
  import math
  import numpy
  from six.moves import xrange
  import tensorflow.compat.v1
  import time
  import utils
label_desc: Use image node_id 8 for calling a global function with example usage: _input_placeholder() and returns: tf