/external/tensorflow/tensorflow/python/kernel_tests/linalg/ |
D | linear_operator_addition_test.py | 24 from tensorflow.python.ops.linalg import linalg as linalg_lib 25 from tensorflow.python.ops.linalg import linear_operator_addition 28 linalg = linalg_lib variable 60 op_a = linalg.LinearOperatorDiag([1., 1.]) 75 op_a = linalg.LinearOperatorDiag( 77 op_b = linalg.LinearOperatorDiag( 96 op1 = linalg.LinearOperatorDiag( 98 op2 = linalg.LinearOperatorDiag( 100 op3 = linalg.LinearOperatorDiag( 117 op1 = linalg.LinearOperatorDiag( [all …]
|
D | linear_operator_composition_test.py | 27 from tensorflow.python.ops.linalg import linalg as linalg_lib 28 from tensorflow.python.ops.linalg import linear_operator_test_util 31 linalg = linalg_lib variable 69 operator = linalg.LinearOperatorComposition( 70 [linalg.LinearOperatorFullMatrix(l) for l in lin_op_matrices], 84 operator = linalg.LinearOperatorComposition( 85 [linalg.LinearOperatorFullMatrix(matrix)], 97 operator_1 = linalg.LinearOperatorFullMatrix(matrix, is_non_singular=True) 98 operator_2 = linalg.LinearOperatorFullMatrix(matrix, is_non_singular=True) 100 operator = linalg.LinearOperatorComposition( [all …]
|
D | linear_operator_block_diag_test.py | 24 from tensorflow.python.ops.linalg import linalg as linalg_lib 25 from tensorflow.python.ops.linalg import linear_operator_block_diag as block_diag 26 from tensorflow.python.ops.linalg import linear_operator_lower_triangular as lower_triangular 27 from tensorflow.python.ops.linalg import linear_operator_test_util 28 from tensorflow.python.ops.linalg import linear_operator_util 31 linalg = linalg_lib variable 103 [linalg.LinearOperatorFullMatrix( 131 [linalg.LinearOperatorFullMatrix(matrix)], 143 linalg.LinearOperatorFullMatrix( 147 linalg.LinearOperatorFullMatrix( [all …]
|
D | linear_operator_inversion_test.py | 22 from tensorflow.python.ops.linalg import linalg as linalg_lib 23 from tensorflow.python.ops.linalg import linear_operator_inversion 24 from tensorflow.python.ops.linalg import linear_operator_test_util 27 linalg = linalg_lib variable 61 linalg.LinearOperatorFullMatrix( 65 linalg.LinearOperatorLowerTriangular(lin_op_matrix)) 67 return operator, linalg.inv(matrix) 72 operator = linalg.LinearOperatorFullMatrix( 85 operator = linalg.LinearOperatorFullMatrix(matrix) 98 operator = linalg.LinearOperatorFullMatrix( [all …]
|
D | linear_operator_kronecker_test.py | 26 from tensorflow.python.ops.linalg import linalg as linalg_lib 27 from tensorflow.python.ops.linalg import linear_operator_kronecker as kronecker 28 from tensorflow.python.ops.linalg import linear_operator_lower_triangular as lower_triangular 29 from tensorflow.python.ops.linalg import linear_operator_test_util 30 from tensorflow.python.ops.linalg import linear_operator_util 33 linalg = linalg_lib variable 126 [linalg.LinearOperatorFullMatrix( 147 [linalg.LinearOperatorFullMatrix(matrix), 148 linalg.LinearOperatorFullMatrix(matrix)], 160 operator_1 = linalg.LinearOperatorFullMatrix(matrix, is_non_singular=True) [all …]
|
D | linear_operator_adjoint_test.py | 22 from tensorflow.python.ops.linalg import linalg as linalg_lib 23 from tensorflow.python.ops.linalg import linear_operator_adjoint 24 from tensorflow.python.ops.linalg import linear_operator_test_util 27 linalg = linalg_lib variable 61 linalg.LinearOperatorFullMatrix( 65 linalg.LinearOperatorLowerTriangular(lin_op_matrix)) 67 return operator, linalg.adjoint(matrix) 72 operator = linalg.LinearOperatorFullMatrix( 85 operator = linalg.LinearOperatorFullMatrix(matrix) 98 operator = linalg.LinearOperatorFullMatrix( [all …]
|
D | linear_operator_diag_test.py | 25 from tensorflow.python.ops.linalg import linalg as linalg_lib 26 from tensorflow.python.ops.linalg import linear_operator_test_util 29 linalg = linalg_lib variable 52 operator = linalg.LinearOperatorDiag( 65 operator = linalg.LinearOperatorDiag(diag) 77 operator = linalg.LinearOperatorDiag(diag) 91 linalg.LinearOperatorDiag(diag).assert_positive_definite().run() 97 operator = linalg.LinearOperatorDiag(diag, is_self_adjoint=True) 108 linalg.LinearOperatorDiag(diag).assert_non_singular().run() 115 operator = linalg.LinearOperatorDiag(diag) [all …]
|
D | linear_operator_full_matrix_test.py | 27 from tensorflow.python.ops.linalg import linalg as linalg_lib 28 from tensorflow.python.ops.linalg import linear_operator_test_util 31 linalg = linalg_lib variable 52 operator = linalg.LinearOperatorFullMatrix( 63 operator = linalg.LinearOperatorFullMatrix( 82 operator = linalg.LinearOperatorFullMatrix(matrix) 85 cond = np.linalg.cond(matrix) 95 operator = linalg.LinearOperatorFullMatrix(matrix) 101 operator = linalg.LinearOperatorFullMatrix(matrix) 108 operator = linalg.LinearOperatorFullMatrix(matrix, is_self_adjoint=True) [all …]
|
D | linear_operator_circulant_test.py | 28 from tensorflow.python.ops.linalg import linalg 29 from tensorflow.python.ops.linalg import linear_operator_circulant 30 from tensorflow.python.ops.linalg import linear_operator_test_util 123 operator = linalg.LinearOperatorCirculant( 137 operator = linalg.LinearOperatorCirculant( 190 operator = linalg.LinearOperatorCirculant( 205 operator = linalg.LinearOperatorCirculant( 250 operator = linalg.LinearOperatorCirculant( 261 operator = linalg.LinearOperatorCirculant( 273 operator = linalg.LinearOperatorCirculant( [all …]
|
D | linear_operator_low_rank_update_test.py | 25 from tensorflow.python.ops.linalg import linalg as linalg_lib 26 from tensorflow.python.ops.linalg import linear_operator_test_util 29 linalg = linalg_lib variable 112 base_operator = linalg.LinearOperatorDiag( 117 operator = linalg.LinearOperatorLowRankUpdate( 258 base_operator = linalg.LinearOperatorIdentity(num_rows=3) 262 operator = linalg.LinearOperatorLowRankUpdate(base_operator, u, diag) 272 base_operator = linalg.LinearOperatorIdentity(num_rows=num_rows_ph) 277 operator = linalg.LinearOperatorLowRankUpdate(base_operator, u) 291 base_operator = linalg.LinearOperatorIdentity(num_rows=3, dtype=np.float64) [all …]
|
D | linear_operator_lower_triangular_test.py | 22 from tensorflow.python.ops.linalg import linalg as linalg_lib 23 from tensorflow.python.ops.linalg import linear_operator_test_util 26 linalg = linalg_lib variable 50 operator = linalg.LinearOperatorLowerTriangular(lin_op_tril) 60 operator = linalg.LinearOperatorLowerTriangular(tril) 67 operator = linalg.LinearOperatorLowerTriangular( 78 linalg.LinearOperatorLowerTriangular([1.])
|
D | BUILD | 16 "//tensorflow/python/ops/linalg", 33 "//tensorflow/python/ops/linalg", 50 "//tensorflow/python/ops/linalg", 73 "//tensorflow/python/ops/linalg", 90 "//tensorflow/python/ops/linalg", 113 "//tensorflow/python/ops/linalg", 145 "//tensorflow/python/ops/linalg", 161 "//tensorflow/python/ops/linalg", 184 "//tensorflow/python/ops/linalg", 206 "//tensorflow/python/ops/linalg", [all …]
|
/external/tensorflow/tensorflow/python/ops/linalg/ |
D | linalg.py | 23 from tensorflow.python.ops.linalg import adjoint_registrations as _adjoint_registrations 24 from tensorflow.python.ops.linalg import cholesky_registrations as _cholesky_registrations 25 from tensorflow.python.ops.linalg import inverse_registrations as _inverse_registrations 26 from tensorflow.python.ops.linalg import linear_operator_algebra as _linear_operator_algebra 27 from tensorflow.python.ops.linalg import matmul_registrations as _matmul_registrations 28 from tensorflow.python.ops.linalg.linalg_impl import * 29 from tensorflow.python.ops.linalg.linear_operator import * 30 from tensorflow.python.ops.linalg.linear_operator_block_diag import * 31 from tensorflow.python.ops.linalg.linear_operator_circulant import * 32 from tensorflow.python.ops.linalg.linear_operator_composition import * [all …]
|
D | inverse_registrations.py | 21 from tensorflow.python.ops.linalg import linear_operator 22 from tensorflow.python.ops.linalg import linear_operator_algebra 23 from tensorflow.python.ops.linalg import linear_operator_block_diag 24 from tensorflow.python.ops.linalg import linear_operator_circulant 25 from tensorflow.python.ops.linalg import linear_operator_diag 26 from tensorflow.python.ops.linalg import linear_operator_identity 27 from tensorflow.python.ops.linalg import linear_operator_inversion 28 from tensorflow.python.ops.linalg import linear_operator_kronecker
|
D | adjoint_registrations.py | 22 from tensorflow.python.ops.linalg import linear_operator 23 from tensorflow.python.ops.linalg import linear_operator_adjoint 24 from tensorflow.python.ops.linalg import linear_operator_algebra 25 from tensorflow.python.ops.linalg import linear_operator_block_diag 26 from tensorflow.python.ops.linalg import linear_operator_circulant 27 from tensorflow.python.ops.linalg import linear_operator_diag 28 from tensorflow.python.ops.linalg import linear_operator_identity 29 from tensorflow.python.ops.linalg import linear_operator_kronecker
|
D | cholesky_registrations.py | 23 from tensorflow.python.ops.linalg import linear_operator 24 from tensorflow.python.ops.linalg import linear_operator_algebra 25 from tensorflow.python.ops.linalg import linear_operator_block_diag 26 from tensorflow.python.ops.linalg import linear_operator_diag 27 from tensorflow.python.ops.linalg import linear_operator_identity 28 from tensorflow.python.ops.linalg import linear_operator_kronecker 29 from tensorflow.python.ops.linalg import linear_operator_lower_triangular
|
D | matmul_registrations.py | 21 from tensorflow.python.ops.linalg import linear_operator 22 from tensorflow.python.ops.linalg import linear_operator_algebra 23 from tensorflow.python.ops.linalg import linear_operator_circulant 24 from tensorflow.python.ops.linalg import linear_operator_composition 25 from tensorflow.python.ops.linalg import linear_operator_diag 26 from tensorflow.python.ops.linalg import linear_operator_identity 27 from tensorflow.python.ops.linalg import linear_operator_lower_triangular 28 from tensorflow.python.ops.linalg import linear_operator_zeros
|
D | linear_operator_diag.py | 26 from tensorflow.python.ops.linalg import linalg_impl as linalg unknown 27 from tensorflow.python.ops.linalg import linear_operator 28 from tensorflow.python.ops.linalg import linear_operator_util 226 x = linalg.adjoint(x) if adjoint_arg else x 242 rhs = linalg.adjoint(rhs) if adjoint_arg else rhs
|
D | linear_operator_lower_triangular.py | 25 from tensorflow.python.ops.linalg import linalg_impl as linalg unknown 26 from tensorflow.python.ops.linalg import linear_operator 27 from tensorflow.python.ops.linalg import linear_operator_util 205 rhs = linalg.adjoint(rhs) if adjoint_arg else rhs
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | linalg_ops_test.py | 32 from tensorflow.python.ops.linalg import linalg 84 _, logdet_np = np.linalg.slogdet(matrix) 90 logdet_tf = linalg.logdet(matrix) 97 _, logdet_np = np.linalg.slogdet(matrix) 99 logdet_tf = linalg.logdet(matrix) 114 sign_np, log_abs_det_np = np.linalg.slogdet(matrix) 116 sign_tf, log_abs_det_tf = linalg.slogdet(matrix) 125 sign_np, log_abs_det_np = np.linalg.slogdet(matrix) 127 sign_tf, log_abs_det_tf = linalg.slogdet(matrix) 142 transposed = linalg.adjoint(matrix)
|
/external/tensorflow/tensorflow/contrib/distributions/python/ops/ |
D | distribution_util.py | 30 from tensorflow.python.ops.linalg import linalg 170 return linalg.LinearOperatorLowerTriangular( 249 return linalg.LinearOperatorDiag( 264 return linalg.LinearOperatorIdentity( 271 return linalg.LinearOperatorScaledIdentity( 384 if not isinstance(scale, linalg.LinearOperator): 387 return (isinstance(scale, linalg.LinearOperatorIdentity) or 388 isinstance(scale, linalg.LinearOperatorScaledIdentity) or 389 isinstance(scale, linalg.LinearOperatorDiag))
|
D | mvn_linear_operator.py | 29 from tensorflow.python.ops.linalg import linalg 254 elif (isinstance(self.scale, linalg.LinearOperatorLowRankUpdate) and 265 elif (isinstance(self.scale, linalg.LinearOperatorLowRankUpdate) and 328 return (isinstance(x, linalg.LinearOperatorIdentity) or 329 isinstance(x, linalg.LinearOperatorScaledIdentity) or 330 isinstance(x, linalg.LinearOperatorDiag))
|
D | mvn_tril.py | 24 from tensorflow.python.ops.linalg import linalg 202 scale = linalg.LinearOperatorIdentity( 212 scale = linalg.LinearOperatorLowerTriangular(
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | svd_op_test.py | 47 _, s_np, _ = np.linalg.svd(x_np) 56 self.assertLess(np.linalg.norm(u_diff), 1e-2) 57 self.assertLess(np.linalg.norm(v_diff), 1e-2) 60 self.assertLess(np.linalg.norm(s_val - s_np), 1e-2) 66 np.linalg.norm(self._compute_usvt(s_val, u_val, v_val) - x_np), 2e-2)
|
/external/tensorflow/tensorflow/contrib/distributions/ |
D | BUILD | 43 "//tensorflow/python/ops/linalg", 81 "//tensorflow/python/ops/linalg", 708 "//tensorflow/python/ops/linalg", 724 "//tensorflow/python/ops/linalg", 741 "//tensorflow/python/ops/linalg", 796 "//tensorflow/python/ops/linalg", 833 "//tensorflow/python/ops/linalg", 854 "//tensorflow/python/ops/linalg", 873 "//tensorflow/python/ops/linalg", 909 "//tensorflow/python/ops/linalg", [all …]
|