| 120 | } |
| 121 | |
| 122 | void Deallocator(void* data, size_t, void* arg) { |
| 123 | tensorflow::cpu_allocator()->DeallocateRaw(data); |
| 124 | *reinterpret_cast<bool*>(arg) = true; |
| 125 | } |
| 126 | |
| 127 | TEST(CAPI, Tensor) { |
| 128 | const int num_bytes = 6 * sizeof(float); |
nothing calls this directly
no test coverage detected