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

Method test6D

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

Source from the content-addressed store, hash-verified

124 self._compareAll(x, axis)
125
126 def test6D(self):
127 for dtype in self.valid_dtypes:
128 x = np.arange(1, 145).reshape([2, 2, 3, 3, 2, 2]).astype(dtype)
129 for axis in range(-6, 6, 3):
130 self._compareAll(x, axis)
131
132 def testInvalidAxis(self):
133 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