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

Method type

paddle/phi/common/pstring.h:289–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287HOSTDEVICE inline bool pstring::empty() const { return size() == 0; }
288
289HOSTDEVICE inline pstring::Type pstring::type() const {
290 return static_cast<pstring::Type>(PD_PString_GetType(&pstr_));
291}
292
293// Allocation
294

Callers 15

FFTR2CGradKernelFunction · 0.45
ScatterKernelFunction · 0.45
xpu2_wrapperFunction · 0.45
fast_embeddingFunction · 0.45
layer_norm_act_fusionFunction · 0.45
fast_addcmulFunction · 0.45
fast_layer_normFunction · 0.45
fast_gather_ndFunction · 0.45
bn_act_fusion_inferFunction · 0.45
fast_reduce_tinyFunction · 0.45
add2Function · 0.45
take_along_axisFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected