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

Method test2D

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

Source from the content-addressed store, hash-verified

190 self._compareAll(x, axis)
191
192 def test2D(self):
193 for dtype in self.valid_dtypes:
194 x = np.arange(1, 11).reshape([2, 5]).astype(dtype)
195 for axis in (-2, -1, 0, 1):
196 self._compareAll(x, axis)
197
198 def test3D(self):
199 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