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

Function MakeMetaTensor

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

Source from the content-addressed store, hash-verified

114/* ----------------- for infer_meta --------------------- */
115
116phi::MetaTensor MakeMetaTensor(const phi::TensorBase& tensor) {
117 return phi::MetaTensor(tensor);
118}
119
120std::vector<phi::MetaTensor> MakeMetaTensor(
121 const std::vector<const phi::TensorBase*>& tensors) {

Callers 6

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

Calls 5

MetaTensorFunction · 0.50
reserveMethod · 0.45
sizeMethod · 0.45
emplace_backMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected