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