code: def _compare(self, a_shape, b_shape, dtype, adjoint_a, adjoint_b):
      np.random.seed(42)
      x = GetRandomNormalInput(a_shape, dtype)
      y = GetRandomNormalInput(b_shape, dtype)
      self._checkGrad(x, y, adjoint_a, adjoint_b)
  
imports: import numpy
  from tensorflow.python import tf2
  from tensorflow.python.client import session
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gradient_checker_v2
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import benchmark
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the BatchMatmulGradientTest obj's underlying member method code with example usage: obj._compare(a_shape, b_shape, dtype, adjoint_a, adjoint_b) without return types