(self)
| 1000 | self._ExecuteAndCompareClose(c, expected=np.round(arr)) |
| 1001 | |
| 1002 | def testLog(self): |
| 1003 | c = self._NewComputation() |
| 1004 | arr = NumpyArrayF32([3.3, 12.1]) |
| 1005 | c.Log(c.Constant(arr)) |
| 1006 | self._ExecuteAndCompareClose(c, expected=np.log(arr)) |
| 1007 | |
| 1008 | def testLog1p(self): |
| 1009 | c = self._NewComputation() |
nothing calls this directly
no test coverage detected