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

Method testLarge

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

Source from the content-addressed store, hash-verified

136 @test_util.run_deprecated_v1
137 @test_util.disable_xla("b/123860949") # The computation is constant folded
138 def testLarge(self):
139 for dtype in self.valid_dtypes:
140 x = np.ones([1000000], dtype=dtype) / 1024
141 self._compareAll(x, 0)
142
143 def testInvalidAxis(self):
144 x = np.arange(0, 10).reshape([2, 5]).astype(np.float32)

Callers

nothing calls this directly

Calls 2

_compareAllMethod · 0.95
onesMethod · 0.80

Tested by

no test coverage detected