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

Method test1D

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

Source from the content-addressed store, hash-verified

184 math_ops.cumprod(x, axis).eval(feed_dict={p: x})
185
186 def test1D(self):
187 for dtype in self.valid_dtypes:
188 x = np.arange(1, 6).reshape([5]).astype(dtype)
189 for axis in (-1, 0):
190 self._compareAll(x, axis)
191
192 def test2D(self):
193 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