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

Method testEmpty

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

Source from the content-addressed store, hash-verified

91
92 @test_util.run_deprecated_v1
93 def testEmpty(self):
94 for dtype in self.valid_dtypes:
95 x = np.zeros([0]).astype(dtype)
96 for axis in (-1, 0):
97 self._compareAll(x, axis)
98
99 @test_util.run_deprecated_v1
100 def testAxisType(self):

Callers

nothing calls this directly

Calls 1

_compareAllMethod · 0.95

Tested by

no test coverage detected