code: def _num_neighbors_example(num_neighbors):
      """Returns a `tf.train.Example` with the 'NL_num_nbrs' feature."""
      example_str = """
                    features {
                      feature {
                        key: "NL_num_nbrs"
                        value: { int64_list { value: [ %d ] } }
                      }
                    }
                  """ % (
          num_neighbors
      )
      return text_format.Parse(example_str, tf.train.Example())
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import absltest
  from neural_structured_learning.tools import graph_utils
  from neural_structured_learning.tools import pack_nbrs
  import tensorflow
  from google.protobuf import text_format
label_desc: Use image node_id 5 for calling a global function with example usage: _num_neighbors_example(num_neighbors) and returns: text_format