gpt4 book ai didi

eigenvalue - 来自 python API 的 tensorflow 中的特征分解

转载 作者:行者123 更新时间:2023-12-03 16:44:28 26 4
gpt4 key购买 nike

使用 TensorFlow 实现迭代特征分解的最佳方法是什么? (类似于 matlabs eigs)。

我知道 Eigen 具有执行特征分解的能力,但我不清楚如何从 tensorflow python API 访问它。如果 tensorflow 只是作为 Eigen 的 API,那么与简单地使用 scipy.sparse.linalg.eigs 相比是否有任何优势?

最佳答案

tf.self_adjoint_eig 和 tf.batch_self_adjoint_eig 都是我在 API 中看到的, https://www.tensorflow.org/versions/master/api_docs/python/math_ops.html

关于eigenvalue - 来自 python API 的 tensorflow 中的特征分解,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34007395/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com