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

Method testEmpty

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

Source from the content-addressed store, hash-verified

91 self._compare(x, axis, exclusive, reverse)
92
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 def testAxisType(self):
100 for dtype in self.valid_dtypes:

Callers

nothing calls this directly

Calls 1

_compareAllMethod · 0.95

Tested by

no test coverage detected