Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaddlePaddle/Paddle
/ push_back
Method
push_back
paddle/phi/core/tensor_array.cc:117–119 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
115
}
116
117
void TensorArray::push_back(const DenseTensor& tensor) {
118
tensors_.push_back(tensor);
119
}
120
121
void TensorArray::pop(size_t i) {
122
PADDLE_ENFORCE_LT(i,
Callers
5
AppendLegacyLoD
Function · 0.45
ConvertToLengthBasedLegacyLoD
Function · 0.45
AutoGrownIndex
Method · 0.45
RegisterStateIndex
Method · 0.45
KernelSelectionErrorMessage
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected