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

Method test1D

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

Source from the content-addressed store, hash-verified

106 math_ops.cumsum(p, axis).eval(feed_dict={p: x})
107
108 def test1D(self):
109 for dtype in self.valid_dtypes:
110 x = np.arange(1, 6).reshape([5]).astype(dtype)
111 for axis in (-1, 0):
112 self._compareAll(x, axis)
113
114 def test2D(self):
115 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