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

Method test6D

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

Source from the content-addressed store, hash-verified

252
253 @test_util.run_deprecated_v1
254 def test6D(self):
255 for dtype in self.valid_dtypes:
256 x = np.arange(1, 145).reshape([2, 2, 3, 3, 2, 2]).astype(dtype)
257 for axis in range(-6, 6, 3):
258 self._compareAll(x, axis)
259
260 def testInvalidAxis(self):
261 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