| 388 | } |
| 389 | |
| 390 | bool BufferAssignment::HasAllocation(const HloValue& value) const { |
| 391 | return allocation_index_for_value_.contains(&value); |
| 392 | } |
| 393 | |
| 394 | bool BufferAssignment::HasAllocation(const HloBuffer& buffer) const { |
| 395 | return allocation_index_for_value_.contains(buffer.values()[0]); |
no test coverage detected