MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / CompareSingularValues

Function CompareSingularValues

tensorflow/python/kernel_tests/svd_op_test.py:95–96  ·  view source on GitHub ↗
(self, x, y, tol)

Source from the content-addressed store, hash-verified

93 full_matrices_):
94
95 def CompareSingularValues(self, x, y, tol):
96 self.assertAllClose(x, y, atol=(x[0] + y[0]) * tol)
97
98 def CompareSingularVectors(self, x, y, rank, tol):
99 # We only compare the first 'rank' singular vectors since the

Callers 1

TestFunction · 0.85

Calls 1

assertAllCloseMethod · 0.45

Tested by

no test coverage detected