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

Method size

cpp/src/arrow/sparse_tensor.cc:451–453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

449}
450
451int64_t SparseTensor::size() const {
452 return std::accumulate(shape_.begin(), shape_.end(), 1LL, std::multiplies<int64_t>());
453}
454
455bool SparseTensor::Equals(const SparseTensor& other, const EqualOptions& opts) const {
456 return SparseTensorEquals(*this, other, opts);

Callers 5

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