| 62 | } |
| 63 | |
| 64 | Tensor ByteSwap(Tensor t) { |
| 65 | Tensor ret = tensor::DeepCopy(t); |
| 66 | TF_EXPECT_OK(ByteSwapTensor(&ret)); |
| 67 | return ret; |
| 68 | } |
| 69 | |
| 70 | // Assert that <reader> has a tensor under <key> matching <expected_val> in |
| 71 | // terms of both shape, dtype, and value |
no test coverage detected