code: def value_from_example(example, feature_name):
      """Returns the feature as a Python list."""
      feature = example.features.feature[feature_name]
      feature_type = feature.WhichOneof("kind")
      return getattr(feature, feature_type).value[:]
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow
label_desc: Use image node_id 3 for calling a global function with example usage: value_from_example(example, feature_name) and returns: getattr