Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaddlePaddle/Paddle
/ mdata
Method
mdata
paddle/phi/common/pstring.h:336–338 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
334
}
335
336
HOSTDEVICE inline char* pstring::mdata() {
337
return PD_PString_GetMutableDataPointer(&pstr_);
338
}
339
340
HOSTDEVICE inline char& pstring::operator[](size_t i) { return mdata()[i]; }
341
Callers
2
operator()
Method · 0.80
SetStringTensorFromPyArray
Function · 0.80
Calls
1
PD_PString_GetMutableDataPointer
Function · 0.85
Tested by
no test coverage detected