Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaddlePaddle/Paddle
/ clear
Method
clear
paddle/phi/core/mixed_vector.h:176–179 ·
view source on GitHub ↗
clear
Source
from the content-addressed store, hash-verified
174
175
// clear
176
void clear() {
177
(*cpu_).clear();
178
flag_ = kDirty | kDataInCPU;
179
}
180
181
std::vector<T> *get_vector() { return cpu_; }
182
Callers
6
ClearHolder
Method · 0.45
MutableOutputBetween
Function · 0.45
ClearInputOutput
Function · 0.45
SyncIndex
Method · 0.45
ClearLowPrecisionKernelList
Function · 0.45
RegisterCustomKernels
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected