Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
通常我们在 Tensorflow 中采用的矩阵范数是易于计算且易于理解的Frobenius范数,例如贝叶斯视图。但在很多情况下,最大的奇异值很重要。可以在 Tensorflow 中优化它吗?这取决于张量流是否可以相对于矩阵 2-范数取梯度。
实际上,谱范数等于最大的奇异值。要达到这个值,您可以使用 TensorFlow 的linalg.svd.
linalg.svd