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

Function Test

tensorflow/python/kernel_tests/matrix_exponential_op_test.py:225–231  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

223def _TestRandomSmall(dtype, batch_dims, size):
224
225 def Test(self):
226 np.random.seed(42)
227 shape = batch_dims + (size, size)
228 matrix = np.random.uniform(
229 low=-1.0, high=1.0,
230 size=shape).astype(dtype)
231 self._verifyExponentialReal(matrix)
232
233 return Test
234

Callers

nothing calls this directly

Calls 6

uniformMethod · 0.80
reshapeMethod · 0.80
seedMethod · 0.45
maxMethod · 0.45
sumMethod · 0.45

Tested by

no test coverage detected