| 23 | // as input if needed |
| 24 | template <typename Context> |
| 25 | void AssignKernel(const Context& dev_ctx, |
| 26 | const SelectedRows& x, |
| 27 | SelectedRows* out) { |
| 28 | out->set_rows(x.rows()); |
| 29 | out->set_height(x.height()); |
| 30 | phi::AssignKernel<Context>(dev_ctx, x.value(), out->mutable_value()); |
| 31 | } |
| 32 | |
| 33 | } // namespace phi::sr |
| 34 |
nothing calls this directly
no test coverage detected