code: def _mock_example_with_image(shape):
      arr = _image_array(shape)
      feature = {
          "image/encoded": _bytes_feature([arr.tobytes()]),
          "image/shape": _int_feature(shape),
      }
      return arr, example_pb2.Example(
          features=feature_pb2.Features(feature=feature)
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import glob
  import os
  from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  from third_party.nucleus.protos import variants_pb2
  from third_party.nucleus.testing import test_utils
  from third_party.nucleus.util import vis
  from tensorflow.core.example import example_pb2
  from tensorflow.core.example import feature_pb2
label_desc: Use image node_id 4 for calling a global function with example usage: _mock_example_with_image(shape) and returns: arr,  example_pb2