| 93 | |
| 94 | template <typename T> |
| 95 | std::vector<T> GetTensorData(const tensorflow::Tensor& t) { |
| 96 | const T* data = t.flat<T>().data(); |
| 97 | return std::vector<T>(data, data + t.NumElements()); |
| 98 | } |
| 99 | |
| 100 | TEST(BufferMapTest, EmptyBuffer) { |
| 101 | BufferMap buffer_map; |
nothing calls this directly
no test coverage detected