The Tensorflow documentation here says that:
tf.linalg.pinv is ''analogous to numpy.linalg.pinv. It differs only in default value of rcond''.
However, tf.linalg.pinv requires the matrix to be float type while np.linalg.pinv could be used with complex matrices.
I was wondering why they would only create it for float types and if there is a straightforward way to modify tf.linalg.pinv
to be used with complex matrices.