| 300 | : owned_executor(nullptr), unowned_executor(executor) {} |
| 301 | |
| 302 | tensorflow::EagerExecutor* executor() { |
| 303 | return owned_executor == nullptr ? unowned_executor : owned_executor.get(); |
| 304 | } |
| 305 | |
| 306 | std::unique_ptr<tensorflow::EagerExecutor> owned_executor; |
| 307 | tensorflow::EagerExecutor* unowned_executor; |
no test coverage detected