Computes the determinant of one or more square matrices.
tf.linalg.det( input, name=None )
The input is a tensor of shape [..., M, M]
whose inner-most 2 dimensions form square matrices. The output is a tensor containing the determinants for all input submatrices [..., :, :]
.
Args | |
---|---|
input | A Tensor . Must be one of the following types: half , float32 , float64 , complex64 , complex128 . Shape is [..., M, M] . |
name | A name for the operation (optional). |
Returns | |
---|---|
A Tensor . Has the same type as input . |
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/linalg/det