| 488 | bool EagerContext::ShouldStoreGraphs() { return should_store_graphs_.load(); } |
| 489 | |
| 490 | void EagerContext::SetShouldStoreGraphs(bool value) { |
| 491 | mutex_lock ml(metadata_mu_); |
| 492 | should_store_graphs_.store(value); |
| 493 | if (!value) { |
| 494 | run_metadata_.Clear(); |
| 495 | } |
| 496 | } |
| 497 | |
| 498 | Status EagerContext::FindDeviceFromName(const char* device_name, |
| 499 | Device** device) const { |
no test coverage detected