docstr: Tests that defaults can be a dtype instead of a Tensor for required vals.
      
docstr_tok: ["Tests","that","defaults","can","be","a","dtype","instead","of","a","Tensor","for","required","vals","."]
code: def testWithTypes(self):
      """Tests that defaults can be a dtype instead of a Tensor for required vals."""
      record_defaults = [
          dtypes.int32,
          dtypes.int64,
          dtypes.float32,
          dtypes.float64,
          dtypes.string,
      ]
  
      column_names = ["col%d" % i for i in range(5)]
      inputs = [
          [
              ",".join(x[0] for x in column_names),
              "0,1,2,3,4",
              "5,6,7,8,9",
          ],
          [
              ",".join(x[0] for x in column_names),
              "10,11,12,13,14",
              "15,16,17,18,19",
          ],
      ]
      expected_output = [
          [0, 1, 2, 3, b"4"],
          [5, 6, 7, 8, b"9"],
          [10, 11, 12, 13, b"14"],
          [15, 16, 17, 18, b"19"],
      ]
      label = "col0"
  
      self._test_dataset(
          inputs,
          expected_output=expected_output,
          expected_keys=column_names,
          column_names=column_names,
          label_name=label,
          batch_size=1,
          num_epochs=1,
          shuffle=False,
          header=True,
          column_defaults=record_defaults,
      )
  
imports: import gzip
  import os
  import zlib
  from absl.testing import parameterized
  import numpy
  from tensorflow.python.data.experimental.ops import readers
  from tensorflow.python.data.kernel_tests import test_base
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.data.util import nest
  from tensorflow.python.framework import combinations
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.platform import test
label_desc: Use image node_id 14 for calling the MakeCsvDatasetTest obj's underlying member method code with example usage: obj.testWithTypes() without return types