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

Method test3D

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

Source from the content-addressed store, hash-verified

196 self._compareAll(x, axis)
197
198 def test3D(self):
199 for dtype in self.valid_dtypes:
200 x = np.arange(1, 21).reshape([2, 2, 5]).astype(dtype)
201 for axis in (-3, -2, -1, 0, 1, 2):
202 self._compareAll(x, axis)
203
204 def test6D(self):
205 for dtype in self.valid_dtypes:

Callers

nothing calls this directly

Calls 2

_compareAllMethod · 0.95
reshapeMethod · 0.80

Tested by

no test coverage detected