tf.linalg.matrix_rank
Stay organized with collections
Save and categorize content based on your preferences.
Compute the matrix rank of one or more matrices.
tf.linalg.matrix_rank(
a, tol=None, validate_args=False, name=None
)
Args |
a
|
(Batch of) float -like matrix-shaped Tensor (s) which are to be
pseudo-inverted.
|
tol
|
Threshold below which the singular value is counted as 'zero'.
Default value: None (i.e., eps * max(rows, cols) * max(singular_val) ).
|
validate_args
|
When True , additional assertions might be embedded in the
graph.
Default value: False (i.e., no graph assertions are added).
|
name
|
Python str prefixed to ops created by this function.
Default value: 'matrix_rank'.
|
Returns |
matrix_rank
|
(Batch of) int32 scalars representing the number of non-zero
singular values.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2024-04-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-26 UTC."],[],[]]