code: def make_fake_example(single_int_val=0):
      """Make a fake example with numeric and string features."""
      example = tf.train.Example()
      example.features.feature[
          "repeated_float"
      ].float_list.value.extend([1.0, 2.0, 3.0, 4.0])
      example.features.feature["repeated_int"].int64_list.value.extend(
          [10, 20]
      )
  
      example.features.feature["single_int"].int64_list.value.extend(
          [single_int_val]
      )
      example.features.feature["single_float"].float_list.value.extend(
          [24.5]
      )
      example.features.feature["non_numeric"].bytes_list.value.extend(
          [b"cat", b"cat", b"woof"]
      )
      return example
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow
label_desc: Use image node_id 1 for calling a global function with example usage: make_fake_example(single_int_val) and returns: example