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

Method size

cpp/src/arrow/sparse_tensor.cc:467–469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

465}
466
467int64_t SparseTensor::size() const {
468 return std::accumulate(shape_.begin(), shape_.end(), 1LL, std::multiplies<int64_t>());
469}
470
471bool SparseTensor::Equals(const SparseTensor& other, const EqualOptions& opts) const {
472 return SparseTensorEquals(*this, other, opts);

Callers 6

MakeMethod · 0.45
ValidateSparseCSXIndexFunction · 0.45
SparseCSFIndexMethod · 0.45
sparse_tensor.ccFile · 0.45

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected