message: Updating the tests
  This tests fine locally with `bazel run //tensorflow/python:sparse_ops_test`
diff: @@ -30,6 +30,7 @@ from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_grad # pylint: disable=unused-import
  from tensorflow.python.ops import gradient_checker_v2 as gradient_checker
  from tensorflow.python.ops import math_ops
  +from tensorflow.python.ops import array_ops
  # Need sparse_grad to register gradient for SparseToDense.
  from tensorflow.python.ops import sparse_grad # pylint: disable=unused-import
  from tensorflow.python.ops import sparse_ops
  @@ -144,24 +145,29 @@ class SparseOpsTest(test_util.TensorFlowTestCase, parameterized.TestCase):
  self.assertAllEqual(expected_dense, result_dense)
  def testDenseSparseTensorMatMul(self):
  +
  + np.random.seed(42)
  + dense_numpy_array = np.random.rand(3, 3)
  + independent_dense_tf = constant_op.constant(dense_numpy_array, dtype="float32")
  +
  sp = sparse_tensor.SparseTensor(
  - indices=[[0, 0], [1, 2]], values=[4., 8.], dense_shape=[2, 3])
  - dense_of_sparse = sparse_ops.sparse_to_dense(sp)
  - independent_dense_tf = constant_op.constant([[1., 0.],[0.,3.],[0.,7.]])
  + indices=[[0, 0], [1, 2]], values=[4., 8.], dense_shape=[3, 3])
  + dense_of_sparse = sparse_ops.sparse_to_dense(sp.indices, sp.shape, sp.values)
  +
  result = sparse_ops.sparse_tensor_dense_matmul(independent_dense_tf, sp, adjoint_a=False,adjoint_b=False)
  expected = math_ops.matmul(independent_dense_tf, dense_of_sparse)
  self.assertAllEqual(expected, result)
  result = sparse_ops.sparse_tensor_dense_matmul(independent_dense_tf, sp, adjoint_a=False, adjoint_b=True)
  - expected = math_ops.matmul(independent_dense_tf, dense_of_sparse)
  + expected = math_ops.matmul(independent_dense_tf, array_ops.transpose(dense_of_sparse))
  self.assertAllEqual(expected, result)
  result = sparse_ops.sparse_tensor_dense_matmul(independent_dense_tf, sp, adjoint_a=True, adjoint_b=False)
  - expected = math_ops.matmul(independent_dense_tf, dense_of_sparse)
  + expected = math_ops.matmul(array_ops.transpose(independent_dense_tf), dense_of_sparse)
  self.assertAllEqual(expected, result)
  result = sparse_ops.sparse_tensor_dense_matmul(independent_dense_tf, sp, adjoint_a=True, adjoint_b=True)
  - expected = math_ops.matmul(independent_dense_tf, dense_of_sparse)
  + expected = math_ops.matmul(array_ops.transpose(independent_dense_tf), array_ops.transpose(dense_of_sparse))
  self.assertAllEqual(expected, result)
  if __name__ == '__main__':
  