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

Method tensor

paddle/phi/kernels/funcs/dense_tensor_iterator.cc:19–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17namespace phi {
18
19void DenseOperandInfo::tensor(DenseTensor*&& tensor) {
20 tensor_base_ = std::move(tensor);
21}
22
23DenseTensorIteratorConfig& DenseTensorIteratorConfig::add_borrowed_output(
24 const DenseTensor& output) {

Callers 7

fast_set_upMethod · 0.45
compute_shapeMethod · 0.45
compute_stridesMethod · 0.45
buildMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected