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

Method SparseTensorImpl

cpp/src/arrow/sparse_tensor.h:556–560  ·  view source on GitHub ↗

\brief Construct a sparse tensor from physical data buffer and logical index

Source from the content-addressed store, hash-verified

554
555 /// \brief Construct a sparse tensor from physical data buffer and logical index
556 SparseTensorImpl(const std::shared_ptr<SparseIndexType>& sparse_index,
557 const std::shared_ptr<DataType>& type,
558 const std::shared_ptr<Buffer>& data, const std::vector<int64_t>& shape,
559 const std::vector<std::string>& dim_names)
560 : SparseTensor(type, data, shape, sparse_index, dim_names) {}
561
562 /// \brief Construct an empty sparse tensor
563 SparseTensorImpl(const std::shared_ptr<DataType>& type,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected