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

Function Make

cpp/src/arrow/sparse_tensor.h:412–419  ·  view source on GitHub ↗

\brief Make SparseCSFIndex from raw properties

Source from the content-addressed store, hash-verified

410
411 /// \brief Make SparseCSFIndex from raw properties
412 static Result<std::shared_ptr<SparseCSFIndex>> Make(
413 const std::shared_ptr<DataType>& indices_type,
414 const std::vector<int64_t>& indices_shapes, const std::vector<int64_t>& axis_order,
415 const std::vector<std::shared_ptr<Buffer>>& indptr_data,
416 const std::vector<std::shared_ptr<Buffer>>& indices_data) {
417 return Make(indices_type, indices_type, indices_shapes, axis_order, indptr_data,
418 indices_data);
419 }
420
421 /// \brief Construct SparseCSFIndex from two index vectors
422 explicit SparseCSFIndex(const std::vector<std::shared_ptr<Tensor>>& indptr,

Callers 2

MakeMethod · 0.70
MakeMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected