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

Method testEmpty

tensorflow/python/kernel_tests/init_ops_test.py:485–487  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

483 self.assertAllEqual(np.arange(5), math_ops.range(5).eval())
484
485 def testEmpty(self):
486 for start in 0, 5:
487 self.assertTrue(np.array_equal(self._Range(start, start, 1), []))
488
489 def testNonInteger(self):
490 self.assertTrue(

Callers

nothing calls this directly

Calls 1

_RangeMethod · 0.95

Tested by

no test coverage detected