Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
442
HOSTDEVICE inline void pstring::swap(pstring& str) {
443
std::swap(pstr_, str.pstr_);
444
}
445
446
HOSTDEVICE inline void pstring::push_back(char ch) { append(1, ch); }
447
Callers
15
~Split
Method · 0.45
MultiClassNMS
Function · 0.45
SetReduceDim
Method · 0.45
CreateTokenTypeIdsFromSequences
Method · 0.45
MultiClassNMS
Function · 0.45
VisitBlock
Method · 0.45
Visit
Method · 0.45
CopySparseTable
Method · 0.45
resize_gpu_slot_offsets
Method · 0.45
ReInitPass
Method · 0.45
Clear
Method · 0.45
ExpandSlotRecord
Method · 0.45
Calls
1
swap
Function · 0.50
Tested by
1
profile
Function · 0.36