class_docstr: Base class for setting up and testing FixedLengthRecordDataset.
class_docstr_tok: ["Base","class","for","setting","up","and","testing","FixedLengthRecordDataset","."]
code: def _record(self, f, r):
      return compat.as_bytes(str(f * 2 + r) * self._record_bytes)
  
imports: import gzip
  import os
  import pathlib
  import zlib
  from absl.testing import parameterized
  from tensorflow.python.data.kernel_tests import checkpoint_test_base
  from tensorflow.python.data.kernel_tests import test_base
  from tensorflow.python.data.ops import readers
  from tensorflow.python.framework import combinations
  from tensorflow.python.framework import errors
  from tensorflow.python.platform import test
  from tensorflow.python.util import compat
label_desc: Use image node_id 2 for calling the FixedLengthRecordDatasetTestBase obj's underlying member method code with example usage: obj._record(f, r) and returns: compat