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

Method testListDevices

tensorflow/contrib/eager/python/tfe_test.py:97–99  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

95 self.assertEqual(3.5, m.cpu().numpy())
96
97 def testListDevices(self):
98 # Expect at least one device.
99 self.assertTrue(tfe.list_devices())
100
101 def testAddCheckNumericsOpsRaisesError(self):
102 with self.assertRaisesRegexp(

Callers

nothing calls this directly

Calls 1

list_devicesMethod · 0.45

Tested by

no test coverage detected