code: def test_batch_gather_ops(self, inputs, gc, dc):
      data, ind = inputs
      op = core.CreateOperator(
          "BatchGather", ["data", "ind"], ["output"]
      )
      self.assertReferenceChecks(
          gc, op, [data, ind], ref_gather(axis=1)
      )
      self.assertGradientChecks(gc, op, [data, ind], 0, [0])
  
imports: import numpy
  from caffe2.python import core, workspace
  from hypothesis import given, settings
  import caffe2.python.hypothesis_test_util
  import caffe2.python.serialized_test.serialized_test_util
  import hypothesis.strategies
  import hypothesis.extra.numpy
label_desc: Use image node_id 1 for calling the TestBatchGatherOps obj's underlying member method code with example usage: obj.test_batch_gather_ops(inputs, gc, dc) without return types