| 434 | } |
| 435 | |
| 436 | bool operator!=(const StrongShape<L>& shape) const { |
| 437 | // TODO(akulik): implement better alternative. |
| 438 | return this->ToShape() != shape.ToShape(); |
| 439 | } |
| 440 | bool empty() const { return DimensionsProduct() == 0; } |
| 441 | |
| 442 | // Turns StrongShape into generic shape. |