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

Method test2D

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

Source from the content-addressed store, hash-verified

112 self._compareAll(x, axis)
113
114 def test2D(self):
115 for dtype in self.valid_dtypes:
116 x = np.arange(0, 10).reshape([2, 5]).astype(dtype)
117 for axis in (-2, -1, 0, 1):
118 self._compareAll(x, axis)
119
120 def test3D(self):
121 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