| 427 | } |
| 428 | |
| 429 | Scope Scope::WithControlDependencies( |
| 430 | const gtl::ArraySlice<Operation>& control_deps) const { |
| 431 | return Scope( |
| 432 | new Impl(*this, Impl::Tags::ControlDeps(), |
| 433 | std::vector<Operation>(control_deps.begin(), control_deps.end()), |
| 434 | /* clear_control_deps */ false)); |
| 435 | } |
| 436 | |
| 437 | Scope Scope::WithControlDependencies(const Output& control_dep) const { |
| 438 | return Scope(new Impl(*this, Impl::Tags::ControlDeps(), |