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

Function MakeDistMetaTensor

paddle/phi/api/lib/api_gen_utils.cc:620–623  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

618/* ------------------ for auto parallel ----------------------- */
619
620phi::distributed::DistMetaTensor MakeDistMetaTensor(
621 const phi::TensorBase& tensor) {
622 return phi::distributed::DistMetaTensor(tensor);
623}
624
625std::vector<phi::distributed::DistMetaTensor> MakeDistMetaTensor(
626 const std::vector<const phi::TensorBase*>& tensors) {

Callers 7

copyFunction · 0.85
add_n_implFunction · 0.85
fused_gemm_epilogue_implFunction · 0.85
cudnn_lstm_grad_implFunction · 0.85
embedding_grad_implFunction · 0.85
copy_Method · 0.85
RunInferSpmdFnFunction · 0.85

Calls 4

DistMetaTensorClass · 0.50
reserveMethod · 0.45
sizeMethod · 0.45
emplace_backMethod · 0.45

Tested by

no test coverage detected