code: def _build_ds(self):
      components = np.array([1.0, 2.0, 3.0, np.nan, 5.0]).astype(
          np.float32
      )
  
      dataset = dataset_ops.Dataset.from_tensor_slices(components)
      dataset = dataset.map(
          lambda x: array_ops.check_numerics(x, "message")
      )
      dataset = dataset.ignore_errors()
      options = options_lib.Options()
      options.experimental_external_state_policy = (
          options_lib.ExternalStatePolicy.IGNORE
      )
      return dataset.with_options(options)
  
imports: import os
  import sys
  from absl.testing import parameterized
  import numpy
  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 dataset_ops
  from tensorflow.python.data.ops import options
  from tensorflow.python.data.ops import readers
  from tensorflow.python.framework import combinations
  from tensorflow.python.framework import errors
  from tensorflow.python.lib.io import python_io
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import io_ops
  from tensorflow.python.platform import test
  from tensorflow.python.util import compat
label_desc: Use image node_id 1 for calling the IgnoreErrorsCheckpointTest obj's underlying member method code with example usage: obj._build_ds() and returns: dataset