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

Function GetSparseTensorPayload

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

Source from the content-addressed store, hash-verified

1099}
1100
1101Status GetSparseTensorPayload(const SparseTensor& sparse_tensor, MemoryPool* pool,
1102 IpcPayload* out) {
1103 internal::SparseTensorSerializer writer(0, out);
1104 return writer.Assemble(sparse_tensor);
1105}
1106
1107Result<std::unique_ptr<Message>> GetSparseTensorMessage(const SparseTensor& sparse_tensor,
1108 MemoryPool* pool) {

Callers 1

GetSparseTensorMessageFunction · 0.85

Calls 1

AssembleMethod · 0.45

Tested by

no test coverage detected