Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaddlePaddle/Paddle
/ ClearInputOutput
Function
ClearInputOutput
paddle/phi/core/kernel_context.h:154–159 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
152
size_t AttrsSize() const { return attrs_.size(); }
153
154
void ClearInputOutput() {
155
inputs_.clear();
156
input_range_.clear();
157
outputs_.clear();
158
output_range_.clear();
159
}
160
161
private:
162
DeviceContext* dev_ctx_;
Callers
nothing calls this directly
Calls
1
clear
Method · 0.45
Tested by
no test coverage detected