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

Method test2D

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

Source from the content-addressed store, hash-verified

114
115 @test_util.run_deprecated_v1
116 def test2D(self):
117 for dtype in self.valid_dtypes:
118 x = np.arange(0, 10).reshape([2, 5]).astype(dtype)
119 for axis in (-2, -1, 0, 1):
120 self._compareAll(x, axis)
121
122 @test_util.run_deprecated_v1
123 def test3D(self):

Callers

nothing calls this directly

Calls 2

_compareAllMethod · 0.95
reshapeMethod · 0.80

Tested by

no test coverage detected