(self)
| 1196 | self._ExecuteAndCompareExact(c, expected=[[1, 2, 3, 4], [5, 6, 7, 8]]) |
| 1197 | |
| 1198 | def testRev(self): |
| 1199 | c = self._NewComputation() |
| 1200 | c.Rev( |
| 1201 | c.Constant(NumpyArrayS32([[[1, 2], [3, 4]], [[5, 6], [7, 8]]])), |
| 1202 | dimensions=[0, 2]) |
| 1203 | self._ExecuteAndCompareExact( |
| 1204 | c, expected=[[[6, 5], [8, 7]], [[2, 1], [4, 3]]]) |
| 1205 | |
| 1206 | def testReducePrecision(self): |
| 1207 | c = self._NewComputation() |
nothing calls this directly
no test coverage detected