code: def _create_example(self, comment_text, label, slice_value):
      example = tf.train.Example()
      example.features.feature[TEXT_FEATURE].bytes_list.value[:] = [
          six.ensure_binary(comment_text, "utf8")
      ]
      example.features.feature[SLICE].bytes_list.value[:] = [
          six.ensure_binary(slice_value, "utf8")
      ]
      example.features.feature[LABEL].float_list.value[:] = [label]
      return example
  
file_path: fairness-indicators/fairness_indicators/example_model_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import datetime
  import os
  import tempfile
  from fairness_indicators import example_model
  import six
  import tensorflow.compat.v1
  import tensorflow_model_analysis
  from tensorflow_model_analysis.slicer import slicer_lib
label_desc: Use image node_id 2 for calling the ExampleModelTest obj's underlying member method code with example usage: obj._create_example(comment_text, label, slice_value) and returns: example