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

Function GetSparseTensorPayload

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

Source from the content-addressed store, hash-verified

1092}
1093
1094Status GetSparseTensorPayload(const SparseTensor& sparse_tensor, MemoryPool* pool,
1095 IpcPayload* out) {
1096 internal::SparseTensorSerializer writer(0, out);
1097 return writer.Assemble(sparse_tensor);
1098}
1099
1100Result<std::unique_ptr<Message>> GetSparseTensorMessage(const SparseTensor& sparse_tensor,
1101 MemoryPool* pool) {

Callers 1

GetSparseTensorMessageFunction · 0.85

Calls 1

AssembleMethod · 0.45

Tested by

no test coverage detected