(self)
| 125 | |
| 126 | @test_util.run_deprecated_v1 |
| 127 | def testArgsort(self): |
| 128 | arr = np.random.random((5, 6, 7, 8)) |
| 129 | for axis in range(4): |
| 130 | with self.cached_session(): |
| 131 | self.assertAllEqual( |
| 132 | np.argsort(arr, axis=axis), |
| 133 | sort_ops.argsort(arr, axis=axis).eval()) |
| 134 | |
| 135 | |
| 136 | if __name__ == '__main__': |
nothing calls this directly
no test coverage detected