MCPcopy 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

ClearHolderMethod · 0.45
MutableOutputBetweenFunction · 0.45
ClearInputOutputFunction · 0.45
SyncIndexMethod · 0.45
RegisterCustomKernelsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected