def _GetBatchMatmulOpTest(dtype, adjoint_a, adjoint_b, use_static_shape):

    def Test(self):
        np.random.seed(42)
        self._testNonEmpty(dtype, adjoint_a, adjoint_b, use_static_shape)
        self._testEmpty(dtype, adjoint_a, adjoint_b, use_static_shape)
    return Test
def _GetBatchMatmulOpTest(dtype, adjoint_a, adjoint_b, use_static_shape):

    def Test(self):
        np.random.seed(42)
        self._testNonEmpty(dtype, adjoint_a, adjoint_b, use_static_shape)
        self._testEmpty(dtype, adjoint_a, adjoint_b, use_static_shape)
    return Test