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

Method test6D

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

Source from the content-addressed store, hash-verified

202 self._compareAll(x, axis)
203
204 def test6D(self):
205 for dtype in self.valid_dtypes:
206 x = np.arange(1, 145).reshape([2, 2, 3, 3, 2, 2]).astype(dtype)
207 for axis in range(-6, 6, 3):
208 self._compareAll(x, axis)
209
210 def testInvalidAxis(self):
211 x = np.arange(0, 10).reshape([2, 5]).astype(np.float32)

Callers

nothing calls this directly

Calls 3

_compareAllMethod · 0.95
reshapeMethod · 0.80
rangeFunction · 0.50

Tested by

no test coverage detected