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

Method testPfor

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

Source from the content-addressed store, hash-verified

1399
1400 @test_util.run_v1_only('b/120545219')
1401 def testPfor(self):
1402 jacobian, answer = self._jacobian(experimental_use_pfor=True)
1403 for j, a in zip(jacobian, answer):
1404 self.assertAllEqual(a, j)
1405
1406 @test_util.run_v1_only('b/120545219')
1407 def testWhileLoop(self):

Callers

nothing calls this directly

Calls 2

_jacobianMethod · 0.95
assertAllEqualMethod · 0.45

Tested by

no test coverage detected