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

Method swap

paddle/phi/common/pstring.h:442–444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

440}
441
442HOSTDEVICE inline void pstring::swap(pstring& str) {
443 std::swap(pstr_, str.pstr_);
444}
445
446HOSTDEVICE inline void pstring::push_back(char ch) { append(1, ch); }
447

Callers 15

~SplitMethod · 0.45
MultiClassNMSFunction · 0.45
SetReduceDimMethod · 0.45
MultiClassNMSFunction · 0.45
VisitBlockMethod · 0.45
VisitMethod · 0.45
CopySparseTableMethod · 0.45
ReInitPassMethod · 0.45
ClearMethod · 0.45
ExpandSlotRecordMethod · 0.45

Calls 1

swapFunction · 0.50

Tested by 1

profileFunction · 0.36