| 45 | } |
| 46 | |
| 47 | int TestEnvTensorAllocatorError(DLTensor* prototype, TVMFFIObjectHandle* out) { |
| 48 | TVMFFIErrorSetRaisedFromCStr("RuntimeError", "TestEnvTensorAllocatorError"); |
| 49 | return -1; |
| 50 | } |
| 51 | |
| 52 | TEST(Tensor, Basic) { |
| 53 | Tensor nd = Empty({1, 2, 3}, DLDataType({kDLFloat, 32, 1}), DLDevice({kDLCPU, 0})); |
nothing calls this directly
no test coverage detected