MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / EmplaceBackInputsWithoutSetRange

Method EmplaceBackInputsWithoutSetRange

paddle/phi/core/kernel_context.cc:40–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40void KernelContext::EmplaceBackInputsWithoutSetRange(
41 paddle::small_vector<const TensorBase*> inputs) {
42 inputs_.insert(inputs_.end(),
43 std::make_move_iterator(inputs.begin()),
44 std::make_move_iterator(inputs.end()));
45}
46
47void KernelContext::EmplaceBackOutput(TensorBase* output) {
48 int index = static_cast<int>(outputs_.size());

Callers

nothing calls this directly

Calls 3

insertMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected