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

Method testEmpty

tensorflow/python/kernel_tests/scan_ops_test.py:217–221  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

215
216 @test_util.run_deprecated_v1
217 def testEmpty(self):
218 for dtype in self.valid_dtypes:
219 x = np.zeros([0]).astype(dtype)
220 for axis in (-1, 0):
221 self._compareAll(x, axis)
222
223 @test_util.run_deprecated_v1
224 def testAxisType(self):

Callers

nothing calls this directly

Calls 1

_compareAllMethod · 0.95

Tested by

no test coverage detected