docstr: Create a serialized tensorflow example.
docstr_tok: ["Create","a","serialized","tensorflow","example","."]
code: def _createTFExampleString(self, feature_name, feature_value):
      """Create a serialized tensorflow example."""
      example = example_pb2.Example()
      example.features.feature[feature_name].float_list.value.extend(
          [feature_value]
      )
      return example.SerializeToString()
  
imports: import os
  import re
  from absl.testing import parameterized
  from tensorflow.core.example import example_pb2
  from tensorflow.core.framework import graph_pb2
  from tensorflow.core.protobuf import saver_pb2
  from tensorflow.python.client import session
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import graph_io
  from tensorflow.python.framework import importer
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import nn
  from tensorflow.python.ops import parsing_ops
  from tensorflow.python.ops import partitioned_variables
  from tensorflow.python.ops import variable_scope
  from tensorflow.python.ops import variable_v1
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
  from tensorflow.python.saved_model import builder
  from tensorflow.python.saved_model import signature_constants
  from tensorflow.python.saved_model import signature_def_utils
  from tensorflow.python.saved_model import tag_constants
  from tensorflow.python.tools import freeze_graph
  from tensorflow.python.training import saver
label_desc: Use image node_id 2 for calling the FreezeGraphTest obj's underlying member method code with example usage: obj._createTFExampleString(feature_name, feature_value) and returns: example