| 24 | |
| 25 | template <typename T, typename Context> |
| 26 | void SquareKernel(const Context& dev_ctx, |
| 27 | const SelectedRows& x, |
| 28 | SelectedRows* out) { |
| 29 | out->set_rows(x.rows()); |
| 30 | out->set_height(x.height()); |
| 31 | phi::SquareKernel<T, Context>(dev_ctx, x.value(), out->mutable_value()); |
| 32 | } |
| 33 | |
| 34 | template <typename T, typename Context> |
| 35 | void SqrtKernel(const Context& dev_ctx, |
nothing calls this directly
no test coverage detected