MCPcopy Create free account
hub / github.com/apache/arrow / GetSparseTensorPayload

Function GetSparseTensorPayload

cpp/src/arrow/ipc/writer.cc:1113–1117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1111}
1112
1113Status GetSparseTensorPayload(const SparseTensor& sparse_tensor, MemoryPool* pool,
1114 IpcPayload* out) {
1115 internal::SparseTensorSerializer writer(0, out);
1116 return writer.Assemble(sparse_tensor);
1117}
1118
1119Result<std::unique_ptr<Message>> GetSparseTensorMessage(const SparseTensor& sparse_tensor,
1120 MemoryPool* pool) {

Callers 1

GetSparseTensorMessageFunction · 0.85

Calls 1

AssembleMethod · 0.45

Tested by

no test coverage detected