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

Function Make

cpp/src/arrow/sparse_tensor.h:418–425  ·  view source on GitHub ↗

\brief Make SparseCSFIndex from raw properties

Source from the content-addressed store, hash-verified

416
417 /// \brief Make SparseCSFIndex from raw properties
418 static Result<std::shared_ptr<SparseCSFIndex>> Make(
419 const std::shared_ptr<DataType>& indices_type,
420 const std::vector<int64_t>& indices_shapes, const std::vector<int64_t>& axis_order,
421 const std::vector<std::shared_ptr<Buffer>>& indptr_data,
422 const std::vector<std::shared_ptr<Buffer>>& indices_data) {
423 return Make(indices_type, indices_type, indices_shapes, axis_order, indptr_data,
424 indices_data);
425 }
426
427 /// \brief Construct SparseCSFIndex from two index vectors
428 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