Home | History | Annotate | Download | only in kernel_tests

Lines Matching refs:matrix1

60   def _makeBatch(self, matrix1, matrix2):
62 [np.expand_dims(matrix1, 0),
69 matrix1 = np.array([[1., 2.], [3., 4.]])
71 self._verifyInverseReal(matrix1)
74 self._verifyInverseReal(self._makeBatch(matrix1, matrix2))
76 matrix1 = matrix1.astype(np.complex64)
77 matrix1 += 1j * matrix1
80 self._verifyInverseComplex(matrix1)
83 self._verifyInverseComplex(self._makeBatch(matrix1, matrix2))
87 matrix1 = np.array([[2., 1.], [1., 2.]])
89 self._verifyInverseReal(matrix1)
92 self._verifyInverseReal(self._makeBatch(matrix1, matrix2))
94 matrix1 = matrix1.astype(np.complex64)
95 matrix1 += 1j * matrix1
98 self._verifyInverseComplex(matrix1)
101 self._verifyInverseComplex(self._makeBatch(matrix1, matrix2))
143 matrix1 = random_ops.random_normal([5, 5], seed=42)
145 inv1 = linalg_ops.matrix_inverse(matrix1, adjoint=adjoint_)