| 38 | } |
| 39 | |
| 40 | void 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 | |
| 47 | void KernelContext::EmplaceBackOutput(TensorBase* output) { |
| 48 | int index = static_cast<int>(outputs_.size()); |