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

Method test2D

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

Source from the content-addressed store, hash-verified

238
239 @test_util.run_deprecated_v1
240 def test2D(self):
241 for dtype in self.valid_dtypes:
242 x = np.arange(1, 11).reshape([2, 5]).astype(dtype)
243 for axis in (-2, -1, 0, 1):
244 self._compareAll(x, axis)
245
246 @test_util.run_deprecated_v1
247 def test3D(self):

Callers

nothing calls this directly

Calls 2

_compareAllMethod · 0.95
reshapeMethod · 0.80

Tested by

no test coverage detected