()
| 39 | } |
| 40 | |
| 41 | @Test |
| 42 | public void test_from_int8() { |
| 43 | Tensor tensor = Tensor.empty(new long[] {2, 2}, new TVMType("int8")); |
| 44 | tensor.copyFrom(new byte[] {1, 2, 3, 4}); |
| 45 | assertArrayEquals(new byte[] {1, 2, 3, 4}, tensor.asByteArray()); |
| 46 | tensor.release(); |
| 47 | } |
| 48 | |
| 49 | @Test |
| 50 | public void test_from_int16() { |
nothing calls this directly
no test coverage detected