Commit 957a0e6
committed
ARROW-717: [C++] Implement IPC zero-copy round trip for tensors
This patch provides:
```python
WriteTensor(tensor, file, &metadata_length, &body_length));
std::shared_ptr<Tensor> result;
ReadTensor(offset, file, &result));
```
Also implemented `Tensor::Equals` and did some refactoring / code simplification in compare.cc
Author: Wes McKinney <wes.mckinney@twosigma.com>
Closes #454 from wesm/ARROW-717 and squashes the following commits:
6c15481 [Wes McKinney] Tensor IPC read/write, and refactoring / code scrubbing1 parent 15b874e commit 957a0e6
File tree
16 files changed
+656
-434
lines changed- cpp/src/arrow
- ipc
- format
16 files changed
+656
-434
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
| 30 | + | |
| 31 | + | |
33 | 32 | | |
34 | | - | |
35 | 33 | | |
36 | 34 | | |
37 | 35 | | |
| |||
0 commit comments