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

Function Full

paddle/phi/kernels/full_kernel.h:61–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59
60template <typename T, typename Context>
61void Full(const Context& dev_ctx,
62 const IntArray& shape,
63 const Scalar& val,
64 DenseTensor* out) {
65 if (!out) return;
66 FullKernel<T, Context>(
67 dev_ctx, shape, val, CppTypeToDataType<T>::Type(), out);
68}
69
70template <typename T, typename Context>
71void Full(const Context& dev_ctx,

Callers

nothing calls this directly

Calls 4

IntArrayClass · 0.85
vectorizeFunction · 0.85
TypeEnum · 0.50
CreateInferMetaFunction · 0.50

Tested by

no test coverage detected