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

Method testInt32CPUDefault

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

Source from the content-addressed store, hash-verified

99 # EagerTensor.__init__.
100 @test_util.run_gpu_only
101 def testInt32CPUDefault(self):
102 with context.device('/gpu:0'):
103 r = constant_op.constant(1) + constant_op.constant(2)
104 self.assertAllEqual(r, 3)
105
106 def testExecuteListOutputLen1(self):
107 split_dim = constant_op.constant(1)

Callers

nothing calls this directly

Calls 3

deviceMethod · 0.45
constantMethod · 0.45
assertAllEqualMethod · 0.45

Tested by

no test coverage detected