class_docstr: Base class for testing TFRecord-based features.
code: def _get_keywords(self, f, r):
      num_keywords = 1 + (f + r) % 2
      keywords = []
      for index in range(num_keywords):
          keywords.append(compat.as_bytes("keyword%d" % index))
      return keywords
  
imports: import os
  from tensorflow.core.example import example_pb2
  from tensorflow.core.example import feature_pb2
  from tensorflow.python.data.experimental.ops import readers
  from tensorflow.python.data.kernel_tests import test_base
  from tensorflow.python.data.ops import readers
  from tensorflow.python.framework import dtypes
  from tensorflow.python.lib.io import python_io
  from tensorflow.python.ops import parsing_ops
  from tensorflow.python.util import compat
label_desc: Use image node_id 4 for calling the FeaturesTestBase obj's underlying member method code with example usage: obj._get_keywords(f, r) and returns: keywords