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

Method test1D

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

Source from the content-addressed store, hash-verified

107
108 @test_util.run_deprecated_v1
109 def test1D(self):
110 for dtype in self.valid_dtypes:
111 x = np.arange(1, 6).reshape([5]).astype(dtype)
112 for axis in (-1, 0):
113 self._compareAll(x, axis)
114
115 @test_util.run_deprecated_v1
116 def test2D(self):

Callers

nothing calls this directly

Calls 2

_compareAllMethod · 0.95
reshapeMethod · 0.80

Tested by

no test coverage detected