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

Function ndim

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

\brief Return a number of dimensions of the sparse tensor

Source from the content-addressed store, hash-verified

484
485 /// \brief Return a number of dimensions of the sparse tensor
486 int ndim() const { return static_cast<int>(shape_.size()); }
487
488 /// \brief Return a vector of dimension names
489 const std::vector<std::string>& dim_names() const { return dim_names_; }

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected