Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/tensorflow/_api/v2/compat/v2/linalg/__init__.py: 100%

71 statements  

« prev     ^ index     » next       coverage.py v7.4.0, created at 2024-01-03 07:57 +0000

1# This file is MACHINE GENERATED! Do not edit. 

2# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script. 

3"""Operations for linear algebra. 

4""" 

5 

6import sys as _sys 

7 

8from . import experimental 

9from tensorflow.python.ops.array_ops import matrix_diag as diag 

10from tensorflow.python.ops.array_ops import matrix_diag_part as diag_part 

11from tensorflow.python.ops.array_ops import matrix_set_diag as set_diag 

12from tensorflow.python.ops.array_ops import matrix_transpose 

13from tensorflow.python.ops.array_ops import tensor_diag_part 

14from tensorflow.python.ops.clip_ops import global_norm 

15from tensorflow.python.ops.gen_array_ops import diag as tensor_diag 

16from tensorflow.python.ops.gen_array_ops import matrix_band_part as band_part 

17from tensorflow.python.ops.gen_linalg_ops import cholesky 

18from tensorflow.python.ops.gen_linalg_ops import log_matrix_determinant as slogdet 

19from tensorflow.python.ops.gen_linalg_ops import lu 

20from tensorflow.python.ops.gen_linalg_ops import matrix_determinant as det 

21from tensorflow.python.ops.gen_linalg_ops import matrix_inverse as inv 

22from tensorflow.python.ops.gen_linalg_ops import matrix_logarithm as logm 

23from tensorflow.python.ops.gen_linalg_ops import matrix_solve as solve 

24from tensorflow.python.ops.gen_linalg_ops import matrix_square_root as sqrtm 

25from tensorflow.python.ops.gen_linalg_ops import qr 

26from tensorflow.python.ops.gen_math_ops import cross 

27from tensorflow.python.ops.linalg.linalg_impl import adjoint 

28from tensorflow.python.ops.linalg.linalg_impl import banded_triangular_solve 

29from tensorflow.python.ops.linalg.linalg_impl import eigh_tridiagonal 

30from tensorflow.python.ops.linalg.linalg_impl import logdet 

31from tensorflow.python.ops.linalg.linalg_impl import lu_matrix_inverse 

32from tensorflow.python.ops.linalg.linalg_impl import lu_reconstruct 

33from tensorflow.python.ops.linalg.linalg_impl import lu_solve 

34from tensorflow.python.ops.linalg.linalg_impl import matrix_exponential as expm 

35from tensorflow.python.ops.linalg.linalg_impl import matrix_rank 

36from tensorflow.python.ops.linalg.linalg_impl import pinv 

37from tensorflow.python.ops.linalg.linalg_impl import tridiagonal_matmul 

38from tensorflow.python.ops.linalg.linalg_impl import tridiagonal_solve 

39from tensorflow.python.ops.linalg.linear_operator import LinearOperator 

40from tensorflow.python.ops.linalg.linear_operator_adjoint import LinearOperatorAdjoint 

41from tensorflow.python.ops.linalg.linear_operator_block_diag import LinearOperatorBlockDiag 

42from tensorflow.python.ops.linalg.linear_operator_block_lower_triangular import LinearOperatorBlockLowerTriangular 

43from tensorflow.python.ops.linalg.linear_operator_circulant import LinearOperatorCirculant 

44from tensorflow.python.ops.linalg.linear_operator_circulant import LinearOperatorCirculant2D 

45from tensorflow.python.ops.linalg.linear_operator_circulant import LinearOperatorCirculant3D 

46from tensorflow.python.ops.linalg.linear_operator_composition import LinearOperatorComposition 

47from tensorflow.python.ops.linalg.linear_operator_diag import LinearOperatorDiag 

48from tensorflow.python.ops.linalg.linear_operator_full_matrix import LinearOperatorFullMatrix 

49from tensorflow.python.ops.linalg.linear_operator_householder import LinearOperatorHouseholder 

50from tensorflow.python.ops.linalg.linear_operator_identity import LinearOperatorIdentity 

51from tensorflow.python.ops.linalg.linear_operator_identity import LinearOperatorScaledIdentity 

52from tensorflow.python.ops.linalg.linear_operator_inversion import LinearOperatorInversion 

53from tensorflow.python.ops.linalg.linear_operator_kronecker import LinearOperatorKronecker 

54from tensorflow.python.ops.linalg.linear_operator_low_rank_update import LinearOperatorLowRankUpdate 

55from tensorflow.python.ops.linalg.linear_operator_lower_triangular import LinearOperatorLowerTriangular 

56from tensorflow.python.ops.linalg.linear_operator_permutation import LinearOperatorPermutation 

57from tensorflow.python.ops.linalg.linear_operator_toeplitz import LinearOperatorToeplitz 

58from tensorflow.python.ops.linalg.linear_operator_tridiag import LinearOperatorTridiag 

59from tensorflow.python.ops.linalg.linear_operator_zeros import LinearOperatorZeros 

60from tensorflow.python.ops.linalg_ops import cholesky_solve 

61from tensorflow.python.ops.linalg_ops import eig 

62from tensorflow.python.ops.linalg_ops import eigvals 

63from tensorflow.python.ops.linalg_ops import eye 

64from tensorflow.python.ops.linalg_ops import matrix_solve_ls as lstsq 

65from tensorflow.python.ops.linalg_ops import matrix_triangular_solve as triangular_solve 

66from tensorflow.python.ops.linalg_ops import norm_v2 as norm 

67from tensorflow.python.ops.linalg_ops import self_adjoint_eig as eigh 

68from tensorflow.python.ops.linalg_ops import self_adjoint_eigvals as eigvalsh 

69from tensorflow.python.ops.linalg_ops import svd 

70from tensorflow.python.ops.math_ops import matmul 

71from tensorflow.python.ops.math_ops import matvec 

72from tensorflow.python.ops.math_ops import tensordot 

73from tensorflow.python.ops.math_ops import trace 

74from tensorflow.python.ops.nn_impl import l2_normalize 

75from tensorflow.python.ops.nn_impl import normalize 

76from tensorflow.python.ops.special_math_ops import einsum