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