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

Method testEmpty

tensorflow/compiler/tests/scan_ops_test.py:171–175  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

169 self._compare(x, axis, exclusive, reverse)
170
171 def testEmpty(self):
172 for dtype in self.valid_dtypes:
173 x = np.zeros([0]).astype(dtype)
174 for axis in (-1, 0):
175 self._compareAll(x, axis)
176
177 def testAxisType(self):
178 for dtype in self.valid_dtypes:

Callers

nothing calls this directly

Calls 1

_compareAllMethod · 0.95

Tested by

no test coverage detected