docstr: Makes a tensorflow example.
  
  Args:
    feature_name_to_type_values_tuple_map: A map of feature name to
      [feature_type, feature_value_list] tuples. The feature type is one of
      'bytes'/'float'/'int'.
  
  Raises:
    ValueError: input feature type is invalid.
  
  Returns:
    A tf.Example.
code: def _make_example(self, feature_name_to_type_values_tuple_map):
      """Makes a tensorflow example.
  
      Args:
        feature_name_to_type_values_tuple_map: A map of feature name to
          [feature_type, feature_value_list] tuples. The feature type is one of
          'bytes'/'float'/'int'.
  
      Raises:
        ValueError: input feature type is invalid.
  
      Returns:
        A tf.Example.
      """
      result = tf.train.Example()
      for feature_name in feature_name_to_type_values_tuple_map:
          (
              feature_type,
              feature_values,
          ) = feature_name_to_type_values_tuple_map[feature_name]
          if feature_type == "bytes":
              result.features.feature[feature_name].bytes_list.value[
                  :
              ] = feature_values
          elif feature_type == "float":
              result.features.feature[feature_name].float_list.value[
                  :
              ] = feature_values
          elif feature_type == "int":
              result.features.feature[feature_name].int64_list.value[
                  :
              ] = feature_values
          else:
              raise ValueError("Invalid feature type: " + feature_type)
      return result
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import gzip
  import os
  import tempfile
  from absl.testing import absltest
  from absl.testing import parameterized
  from apache_beam.io.filesystem import CompressionTypes
  import pandas
  import tensorflow
  from tensorflow_data_validation.statistics import stats_options
  from tensorflow_data_validation.utils import stats_gen_lib
  from tensorflow_data_validation.utils import test_util
  from google.protobuf import text_format
  from tensorflow_metadata.proto.v0 import schema_pb2
  from tensorflow_metadata.proto.v0 import statistics_pb2
label_desc: Use image node_id 3 for calling the StatsGenTest obj's underlying member method code with example usage: obj._make_example(feature_name_to_type_values_tuple_map) and returns: result