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

Method testIdentity

tensorflow/python/eager/ops_test.py:346–347  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

344 self.assertAllEqual([[-10, -20, -30, -40], [10, 20, 30, 40]], y)
345
346 def testIdentity(self):
347 self.assertAllEqual(2, array_ops.identity(2))
348
349 @test_util.run_gpu_only
350 def testIdentityOnVariable(self):

Callers

nothing calls this directly

Calls 2

assertAllEqualMethod · 0.45
identityMethod · 0.45

Tested by

no test coverage detected