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

Function Dot

paddle/phi/kernels/dot_kernel.h:29–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27
28template <typename T, typename Context>
29DenseTensor Dot(const Context& dev_ctx,
30 const DenseTensor& x,
31 const DenseTensor& y) {
32 DenseTensor dense_out;
33 MetaTensor meta_out(&dense_out);
34 DotInferMeta(x, y, &meta_out);
35 DotKernel<T, Context>(dev_ctx, x, y, &dense_out);
36 return dense_out;
37}
38} // namespace phi

Callers

nothing calls this directly

Calls 1

DotInferMetaFunction · 0.85

Tested by

no test coverage detected