code: def test_merge_id_lists_op(self, inputs, gc, dc):
      num_inputs = int(len(inputs) / 2)
      op = core.CreateOperator(
          "MergeIdLists",
          [
              "{prefix}_{i}".format(prefix=p, i=i)
              for i in range(num_inputs)
              for p in ["lengths", "values"]
          ],
          ["merged_lengths", "merged_values"],
      )
      self.assertDeviceChecks(dc, op, inputs, [0])
      self.assertReferenceChecks(gc, op, inputs, merge_id_lists_ref)
  
file_path: pytorch/caffe2/python/operator_test/merge_id_lists_op_test.py
imports: from caffe2.python import core
  import caffe2.python.hypothesis_test_util
  import caffe2.python.serialized_test.serialized_test_util
  import hypothesis.extra.numpy
  import hypothesis.strategies
  import numpy
label_desc: Use image node_id 2 for calling the TestMergeIdListsOp obj's underlying member method code with example usage: obj.test_merge_id_lists_op(inputs, gc, dc) without return types