code: def testInvalidParams(self):
      with self.session():
          with self.assertRaises(errors_impl.InvalidArgumentError):
              self.evaluate(
                  data_flow_ops.gen_data_flow_ops.record_input(
                      file_pattern="nan",
                      file_buffer_size=-90,
                      file_parallelism=-438,
                      file_shuffle_shift_ratio=-784,
                      batch_size=-933,
                      file_random_seed=-678,
                      compression_type="nan",
                  )
              )
  
file_path: tensorflow-upstream/tensorflow/python/kernel_tests/io_ops/record_input_test.py
imports: import os
  from tensorflow.python.framework import errors_impl
  from tensorflow.python.framework import test_util
  from tensorflow.python.lib.io import tf_record
  from tensorflow.python.ops import data_flow_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
label_desc: Use image node_id 9 for calling the RecordInputOpTest obj's underlying member method code with example usage: obj.testInvalidParams() without return types