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

Function ToTensor

cpp/src/arrow/sparse_tensor.h:513–515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

511 /// The returned Tensor has row-major order (C-like).
512 Result<std::shared_ptr<Tensor>> ToTensor(MemoryPool* pool) const;
513 Result<std::shared_ptr<Tensor>> ToTensor() const {
514 return ToTensor(default_memory_pool());
515 }
516
517 protected:
518 // Constructor with all attributes

Callers

nothing calls this directly

Calls 1

default_memory_poolFunction · 0.85

Tested by

no test coverage detected