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

Method testWhileLoop

tensorflow/python/eager/backprop_test.py:1407–1410  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1405
1406 @test_util.run_v1_only('b/120545219')
1407 def testWhileLoop(self):
1408 jacobian, answer = self._jacobian(experimental_use_pfor=False)
1409 for j, a in zip(jacobian, answer):
1410 self.assertAllEqual(a, j)
1411
1412 @test_util.run_v1_only('b/120545219')
1413 def testPforDefun(self):

Callers

nothing calls this directly

Calls 2

_jacobianMethod · 0.95
assertAllEqualMethod · 0.45

Tested by

no test coverage detected