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

Method test1D

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

Source from the content-addressed store, hash-verified

231
232 @test_util.run_deprecated_v1
233 def test1D(self):
234 for dtype in self.valid_dtypes:
235 x = np.arange(1, 6).reshape([5]).astype(dtype)
236 for axis in (-1, 0):
237 self._compareAll(x, axis)
238
239 @test_util.run_deprecated_v1
240 def test2D(self):

Callers

nothing calls this directly

Calls 2

_compareAllMethod · 0.95
reshapeMethod · 0.80

Tested by

no test coverage detected