MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / SqrtKernel

Function SqrtKernel

paddle/phi/kernels/selected_rows/activation_kernel.cc:35–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33
34template <typename T, typename Context>
35void SqrtKernel(const Context& dev_ctx,
36 const SelectedRows& x,
37 SelectedRows* out) {
38 out->set_rows(x.rows());
39 out->set_height(x.height());
40 phi::SqrtKernel<T, Context>(dev_ctx, x.value(), out->mutable_value());
41}
42
43} // namespace sr
44} // namespace phi

Callers

nothing calls this directly

Calls 5

set_rowsMethod · 0.45
set_heightMethod · 0.45
heightMethod · 0.45
valueMethod · 0.45
mutable_valueMethod · 0.45

Tested by

no test coverage detected