Type ILinearOperator
Namespace tensorflow.linalg
Interfaces IModule
Methods
- add_to_tensor
- adjoint
- assert_non_singular
- assert_positive_definite
- assert_self_adjoint
- batch_shape_tensor
- cholesky
- determinant
- diag_part
- domain_dimension_tensor
- inverse
- log_abs_determinant
- matmul
- matvec
- range_dimension_tensor
- shape_tensor
- solve
- solvevec
- tensor_rank_tensor
- to_dense
- trace
Properties
Public instance methods
object add_to_tensor(object x, object name)
object adjoint(object name)
object assert_non_singular(object name)
object assert_positive_definite(object name)
object assert_self_adjoint(object name)
object batch_shape_tensor(object name)
object cholesky(object name)
object determinant(object name)
object diag_part(object name)
object domain_dimension_tensor(object name)
object inverse(object name)
object log_abs_determinant(object name)
object matmul(object x, object adjoint, object adjoint_arg, object name)
object matvec(object x, object adjoint, object name)
object range_dimension_tensor(object name)
object shape_tensor(object name)
object solve(object rhs, object adjoint, object adjoint_arg, object name)
object solvevec(object rhs, object adjoint, object name)
object tensor_rank_tensor(object name)
object to_dense(object name)
Converts a sparse tensor into a dense tensor and returns it.
Returns
-
object
- A dense tensor. Examples: ```python >>> from keras import backend as K >>> b = K.placeholder((2, 2), sparse=True) >>> print(K.is_sparse(b)) True >>> c = K.to_dense(b) >>> print(K.is_sparse(c)) False ```